[jira] [Created] (FLINK-18514) Building fails with JDK 14 installed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-18514) Building fails with JDK 14 installed

Shang Yuanchun (Jira)
Niels Basjes created FLINK-18514:
------------------------------------

             Summary: Building fails with JDK 14 installed
                 Key: FLINK-18514
                 URL: https://issues.apache.org/jira/browse/FLINK-18514
             Project: Flink
          Issue Type: Improvement
            Reporter: Niels Basjes


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)
```

This is a known problem in groovy that has been fixed in version 2.5.10: https://issues.apache.org/jira/browse/GROOVY-9211





--
This message was sent by Atlassian Jira
(v8.3.4#803005)