Erick Erickson created SOLR-13415:
-------------------------------------

             Summary: 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


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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to