lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-13415) java -jar post.jar fails under JDK 11 on master
Date Mon, 22 Apr 2019 10:31:00 GMT

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

Uwe Schindler commented on SOLR-13415:
--------------------------------------

Does this also happen in 8.x, if you use Java 11 to run post.jar?

> java -jar post.jar fails under JDK 11 on master
> -----------------------------------------------
>
>                 Key: SOLR-13415
>                 URL: https://issues.apache.org/jira/browse/SOLR-13415
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: master (9.0)
>            Reporter: Erick Erickson
>            Priority: Blocker
>
> Most every attempt to use post.jar fails, but the simplest is:
> {code}
> java -jar post.jar -help
> {code}
>  
> This gives the response:
> {code}
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/solr/util/CLIO
>     at org.apache.solr.util.SimplePostTool.info(SimplePostTool.java:735)
>     at org.apache.solr.util.SimplePostTool.main(SimplePostTool.java:167)
> Caused by: java.lang.ClassNotFoundException: org.apache.solr.util.CLIO
>     at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
>     at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
>     at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
>     ... 2 more
> {code}
> This is true even though:
> {code}
> jar -tvf solr-core-9.0.0-SNAPSHOT.jar | grep CLIO
>    747 Fri Apr 19 10:40:04 PDT 2019 org/apache/solr/util/CLIO.class
> {code}
> Using
> {code}
> openjdk version "11.0.2" 2019-01-15
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message