You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Niels Basjes (Jira)" <ji...@apache.org> on 2020/07/07 07:53:00 UTC

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

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)