Gradle warning when running "test" task in IntelliJ

Answered

Hi Team,

 

When I run the "test" task in the Gradle build in IntelliJ, I get the following in the log:

unable to enhance gradle daemon classloader with idea_rt.jar

groovy.lang.MissingMethodException: No signature of method: org.gradle.internal.classloader.VisitableURLClassLoader.addURLs() is applicable for argument types: (java.util.ArrayList) values: [[file:/C:/Users/azraneya/.gradle/caches/modules-2/files-2.1/junit/junit/4.11/4e031bb61df09069aeb2bffb4019e7a5034a4ee0/junit-4.11.jar]]
Possible solutions: getURLs()
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:58)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:49)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)

 

The above message is repeating for each sub module in the Gradle project.

We're developing in IntelliJ 2016.1.2 and upgraded from local installation of Gradle 2.9 to the Gradle Wrapper version 3.2 

Anyone has an idea how to get this message to disappear?

 

Thanks,

Eyal

0
2 comments
Avatar
Permanently deleted user

Yup, that's probably it, We're using build 145.971 and this is fixed in 145.2024

0

Please sign in to leave a comment.