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
Seems like this happens when upgrading from Groovy 3.0.1 to 3.0.2:
java.lang.IllegalAccessError: tried to access method groovy.grape.GrapeIvy.getLoadedDepsForLoader(Ljava/lang/ClassLoader;)Ljava/util/Set; from class groovy.grape.GrapeIvy$getLoadedDepsForLoader
Full trace:
[ERROR] Failed to execute goal org.codehaus.gmaven:groovy-maven-plugin:2.1.1:execute (default-cli) on project sage: Execution default-cli of goal org.codehaus.gmaven:groovy-maven-plugin:2.1.1:execute failed: An API incompatibility was encountered while executing org.codehaus.gmaven:groovy-maven-plugin:2.1.1:execute: java.lang.IllegalAccessError: tried to access method groovy.grape.GrapeIvy.getLoadedDepsForLoader(Ljava/lang/ClassLoader;)Ljava/util/Set; from class groovy.grape.GrapeIvy$getLoadedDepsForLoader
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.codehaus.gmaven:groovy-maven-plugin:2.1.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/btiernay/.m2/repository/org/codehaus/gmaven/groovy-maven-plugin/2.1.1/groovy-maven-plugin-2.1.1.jar
[ERROR] urls[1] = file:/Users/btiernay/.m2/repository/org/codehaus/groovy/groovy/3.0.2/groovy-3.0.2.jar
[ERROR] urls[2] = file:/Users/btiernay/.m2/repository/org/apache/ivy/ivy/2.5.0/ivy-2.5.0.jar
[ERROR] urls[3] = file:/Users/btiernay/.m2/repository/org/sonatype/gossip/gossip-slf4j/1.8/gossip-slf4j-1.8.jar
[ERROR] urls[4] = file:/Users/btiernay/.m2/repository/org/sonatype/gossip/gossip-core/1.8/gossip-core-1.8.jar
[ERROR] urls[5] = file:/Users/btiernay/.m2/repository/org/sonatype/gossip/gossip-bootstrap/1.8/gossip-bootstrap-1.8.jar
[ERROR] urls[6] = file:/Users/btiernay/.m2/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar
[ERROR] urls[7] = file:/Users/btiernay/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar
[ERROR] urls[8] = file:/Users/btiernay/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.16/plexus-interpolation-1.16.jar
[ERROR] urls[9] = file:/Users/btiernay/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
[ERROR] urls[10] = file:/Users/btiernay/.m2/repository/org/codehaus/gmaven/gmaven-adapter-api/2.1.1/gmaven-adapter-api-2.1.1.jar
[ERROR] urls[11] = file:/Users/btiernay/.m2/repository/org/codehaus/gmaven/gmaven-adapter-impl/2.1.1/gmaven-adapter-impl-2.1.1.jar
[ERROR] urls[12] = file:/Users/btiernay/.m2/repository/org/codehaus/groovy/groovy-all/2.4.9/groovy-all-2.4.9.jar
[ERROR] urls[13] = file:/Users/btiernay/.m2/repository/org/apache/ant/ant/1.9.4/ant-1.9.4.jar
[ERROR] urls[14] = file:/Users/btiernay/.m2/repository/org/apache/ant/ant-launcher/1.9.4/ant-launcher-1.9.4.jar
[ERROR] urls[15] = file:/Users/btiernay/.m2/repository/jline/jline/2.12/jline-2.12.jar
[ERROR] urls[16] = file:/Users/btiernay/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
The text was updated successfully, but these errors were encountered:
Seems like this happens when upgrading from Groovy 3.0.1 to 3.0.2:
Full trace:
The text was updated successfully, but these errors were encountered: