Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-7046

NoClassDefFoundError on 'java -jar derbynet.jar'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.15.1.3
    • 10.15.2.0, 10.16.1.1
    • Network Server
    • None
    • openjdk version "11.0.3" 2019-04-16
      db-derby-10.15.1.3-bin
    • Normal
    • Regression, Seen in production

    Description

      derbynet.jar seems to be runnable jar - it has

      Main-Class: org.apache.derby.drda.NetworkServerControl
      

      but

      Class-Path: derby.jar derbyshared.jar
      

      does not include derbytools.jar.

      So on running

      java -jar derbynet.jar

      following is presented:

      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/derby/iapi/tools/i18n/LocalizedOutput
          at org.apache.derby.drda.NetworkServerControl.main(NetworkServerControl.java:319)
      Caused by: java.lang.ClassNotFoundException: org.apache.derby.iapi.tools.i18n.LocalizedOutput
          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)
          ... 1 more
      

      It works fine with previous version (10.14.2.0).

      Attachments

        Activity

          People

            rhillegas Richard N. Hillegas
            pzygielo Piotr Zygielo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: