Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13415

java -jar post.jar fails under JDK 11 on master

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 9.0
    • 9.0
    • examples
    • None

    Description

      Most every attempt to use post.jar fails, but the simplest is:

      java -jar post.jar -help
      

      This gives the response:

      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
      

      This is true even though:

      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
      

      Using

      openjdk version "11.0.2" 2019-01-15
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            uschindler Uwe Schindler
            erickerickson Erick Erickson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment