Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
On a system with JDK 14 installed the build fails with
[INFO] --- gmavenplus-plugin:1.8.1:execute (merge-categories) @ flink-end-to-end-tests ---
[INFO] Using plugin classloader, includes GMavenPlus classpath.
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
at org.codehaus.groovy.vmplugin.VMPluginFactory.<clinit>(VMPluginFactory.java:43)
at org.codehaus.groovy.reflection.GroovyClassValueFactory.<clinit>(GroovyClassValueFactory.java:35)
at org.codehaus.groovy.reflection.ClassInfo.<clinit>(ClassInfo.java:107)
at org.codehaus.groovy.reflection.ReflectionCache.getCachedClass(ReflectionCache.java:95)
at org.codehaus.groovy.reflection.ReflectionCache.<clinit>(ReflectionCache.java:39)
Which is the same exception as seen here
https://github.com/gradle/gradle/issues/10248
This is a known problem in groovy that has been fixed in version 2.5.10: https://issues.apache.org/jira/browse/GROOVY-9211
Attachments
Issue Links
- links to