You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a gradle multi project and trying to run test target from one of the subprojects using this plugin. My tests fail because they don't see classes from dependent subproject. This dependency is expressed by compile project(':agent')
eu.plumbr.portal.web.ping.PingControllerTest > Ping FAILED
java.lang.NoClassDefFoundError: eu/plumbr/agent/http/PingAction
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585)
at java.lang.Class.getDeclaredConstructors(Class.java:1906)
at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
at eu.plumbr.portal.web.ping.PingControllerTest.Ping(PingControllerTest.groovy:15)
Caused by:
java.lang.ClassNotFoundException: eu.plumbr.agent.http.PingAction
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 5 more
The text was updated successfully, but these errors were encountered:
iNikem
changed the title
Does not in gradle multi project
Does not work in gradle multi project
Feb 11, 2015
I have a gradle multi project and trying to run test target from one of the subprojects using this plugin. My tests fail because they don't see classes from dependent subproject. This dependency is expressed by
compile project(':agent')
The text was updated successfully, but these errors were encountered: