[ 
https://issues.apache.org/jira/browse/LUCENE-9382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17116683#comment-17116683
 ] 

Erick Erickson commented on LUCENE-9382:
----------------------------------------

Looks like https://github.com/gradle/gradle/issues/10248?

Should be fixed if we upgrade Gradle to 6.3 or later: 
https://docs.gradle.org/6.3/release-notes.html#support-for-java-14

> Lucene's gradle version can't cope with Java 14
> -----------------------------------------------
>
>                 Key: LUCENE-9382
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9382
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Priority: Major
>
> If you have JDK 14 installed as your default java, then attempting to use 
> gradle within the lucene-solr project can result in errors, particularly if 
> you have other projects that use more recent gradle versions on the same 
> machine.
> ```
> 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)
> ```



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to