java.lang.NoClassDefFoundError: org/drftpd/vfs/InodeHandleInterface at java.lang.ClassLoader.defineClass1(java.base@9-ea/Native Method) at java.lang.ClassLoader.defineClass(java.base@9-ea/ClassLoader.java:942) at java.security.SecureClassLoader.defineClass(java.base@9-ea/SecureClassLoader.java:150) at java.net.URLClassLoader.defineClass(java.base@9-ea/URLClassLoader.java:467) at java.net.URLClassLoader.access$100(java.base@9-ea/URLClassLoader.java:78) at java.net.URLClassLoader$1.run(java.base@9-ea/URLClassLoader.java:375) at java.net.URLClassLoader$1.run(java.base@9-ea/URLClassLoader.java:369) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.net.URLClassLoader.findClass(java.base@9-ea/URLClassLoader.java:368)

GitHub | zer0c0nf | 4 months ago
  1. 0

    GitHub comment 4#235871947

    GitHub | 4 months ago | zer0c0nf
    java.lang.NoClassDefFoundError: org/drftpd/vfs/InodeHandleInterface at java.lang.ClassLoader.defineClass1(java.base@9-ea/Native Method) at java.lang.ClassLoader.defineClass(java.base@9-ea/ClassLoader.java:942) at java.security.SecureClassLoader.defineClass(java.base@9-ea/SecureClassLoader.java:150) at java.net.URLClassLoader.defineClass(java.base@9-ea/URLClassLoader.java:467) at java.net.URLClassLoader.access$100(java.base@9-ea/URLClassLoader.java:78) at java.net.URLClassLoader$1.run(java.base@9-ea/URLClassLoader.java:375) at java.net.URLClassLoader$1.run(java.base@9-ea/URLClassLoader.java:369) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.net.URLClassLoader.findClass(java.base@9-ea/URLClassLoader.java:368)
  2. 1

    CTW failed in nightlies with: 1. Exception in thread "main" java.lang.AssertionError at sun.hotspot.tools.ctw.Utils.fileNameToClassName(Utils.java:209) at java.util.stream.ReferencePipeline$3$1.accept(java.base@9-internal/ReferencePipeline.java:195) at java.util.stream.ReferencePipeline$2$1.accept(java.base@9-internal/ReferencePipeline.java:177) at java.util.stream.ReferencePipeline$2$1.accept(java.base@9-internal/ReferencePipeline.java:177) at java.util.Spliterators$ArraySpliterator.forEachRemaining(java.base@9-internal/Spliterators.java:948) at java.util.stream.AbstractPipeline.copyInto(java.base@9-internal/AbstractPipeline.java:484) at java.util.stream.AbstractPipeline.wrapAndCopyInto(java.base@9-internal/AbstractPipeline.java:474) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(java.base@9-internal/ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(java.base@9-internal/ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(java.base@9-internal/AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(java.base@9-internal/ReferencePipeline.java:430) at sun.hotspot.tools.ctw.ClassPathJimageEntry.process(ClassPathJimageEntry.java:63) at sun.hotspot.tools.ctw.CompileTheWorld.main(CompileTheWorld.java:84) 2. Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet at java.lang.ClassLoader.defineClass1(java.base@9-internal/Native Method) at java.lang.ClassLoader.defineClass(java.base@9-internal/ClassLoader.java:942) at java.security.SecureClassLoader.defineClass(java.base@9-internal/SecureClassLoader.java:150) at java.net.URLClassLoader.defineClass(java.base@9-internal/URLClassLoader.java:467) at java.net.URLClassLoader.access$100(java.base@9-internal/URLClassLoader.java:78) at java.net.URLClassLoader$1.run(java.base@9-internal/URLClassLoader.java:375) at java.net.URLClassLoader$1.run(java.base@9-internal/URLClassLoader.java:369) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at java.net.URLClassLoader.findClass(java.base@9-internal/URLClassLoader.java:368) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:486) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419) at java.lang.ClassLoader.defineClass1(java.base@9-internal/Native Method) at java.lang.ClassLoader.defineClass(java.base@9-internal/ClassLoader.java:942) at java.security.SecureClassLoader.defineClass(java.base@9-internal/SecureClassLoader.java:150) at java.net.URLClassLoader.defineClass(java.base@9-internal/URLClassLoader.java:467) at java.net.URLClassLoader.access$100(java.base@9-internal/URLClassLoader.java:78) at java.net.URLClassLoader$1.run(java.base@9-internal/URLClassLoader.java:375) at java.net.URLClassLoader$1.run(java.base@9-internal/URLClassLoader.java:369) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at java.net.URLClassLoader.findClass(java.base@9-internal/URLClassLoader.java:368) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:486) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419) at sun.hotspot.tools.ctw.PathHandler.processClass(PathHandler.java:153) at sun.hotspot.tools.ctw.ClassPathJarEntry.processJarEntry(ClassPathJarEntry.java:76) at sun.hotspot.tools.ctw.ClassPathJarEntry.process(ClassPathJarEntry.java:63) at sun.hotspot.tools.ctw.CompileTheWorld.main(CompileTheWorld.java:84) Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet at java.net.URLClassLoader.findClass(java.base@9-internal/URLClassLoader.java:388) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:486) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419) ... 26 more

    JDK Bug System | 3 months ago | Igor Veresov
    java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet at java.lang.ClassLoader.defineClass1(java.base@9-internal/Native Method) at java.lang.ClassLoader.defineClass(java.base@9-internal/ClassLoader.java:942) at java.security.SecureClassLoader.defineClass(java.base@9-internal/SecureClassLoader.java:150) at java.net.URLClassLoader.defineClass(java.base@9-internal/URLClassLoader.java:467) at java.net.URLClassLoader.access$100(java.base@9-internal/URLClassLoader.java:78) at java.net.URLClassLoader$1.run(java.base@9-internal/URLClassLoader.java:375) at java.net.URLClassLoader$1.run(java.base@9-internal/URLClassLoader.java:369) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at java.net.URLClassLoader.findClass(java.base@9-internal/URLClassLoader.java:368) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:486) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419) at java.lang.ClassLoader.defineClass1(java.base@9-internal/Native Method) at java.lang.ClassLoader.defineClass(java.base@9-internal/ClassLoader.java:942) at java.security.SecureClassLoader.defineClass(java.base@9-internal/SecureClassLoader.java:150) at java.net.URLClassLoader.defineClass(java.base@9-internal/URLClassLoader.java:467) at java.net.URLClassLoader.access$100(java.base@9-internal/URLClassLoader.java:78) at java.net.URLClassLoader$1.run(java.base@9-internal/URLClassLoader.java:375) at java.net.URLClassLoader$1.run(java.base@9-internal/URLClassLoader.java:369) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at java.net.URLClassLoader.findClass(java.base@9-internal/URLClassLoader.java:368) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:486) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419)
  3. 0

    Today I tried to use jigsaw build 101 . Earlier I was using jigsaw build 96 . In build 101 GF stops starting up . It was starting up fine with build 96 . When I am trying to start the server using build 101 , I am getting the following exception Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/BASE64Decoder at java.lang.ClassLoader.defineClass1(java.base@9-ea/Native Method) at java.lang.ClassLoader.defineClass(java.base@9-ea/ClassLoader.java:928) at java.security.SecureClassLoader.defineClass(java.base@9-ea/SecureClassLoader.java:152) at jdk.internal.misc.BuiltinClassLoader.defineClass(java.base@9-ea/BuiltinClassLoader.java:582) at jdk.internal.misc.BuiltinClassLoader.access$300(java.base@9-ea/BuiltinClassLoader.java:94) at jdk.internal.misc.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:490) at jdk.internal.misc.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:484) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at jdk.internal.misc.BuiltinClassLoader.findClassOnClassPathOrNull(java.base@9-ea/BuiltinClassLoader.java:483) at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:430) at jdk.internal.misc.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:388) at jdk.internal.misc.ClassLoaders$AppClassLoader.loadClass(java.base@9-ea/ClassLoaders.java:177) at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:373) at org.glassfish.security.common.SSHA.decode(SSHA.java:319) at org.glassfish.security.common.FileRealmHelper.decodeUser(FileRealmHelper.java:741) at org.glassfish.security.common.FileRealmHelper.loadKeyFile(FileRealmHelper.java:638) at org.glassfish.security.common.FileRealmHelper.<init>(FileRealmHelper.java:149) at com.sun.enterprise.admin.servermgmt.cli.StartDomainCommand.doAdminPasswordCheck(StartDomainCommand.java:326) at com.sun.enterprise.admin.servermgmt.cli.StartDomainCommand.executeCommand(StartDomainCommand.java:156) at com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:322) at com.sun.enterprise.admin.cli.AdminMain.executeCommand(AdminMain.java:368) at com.sun.enterprise.admin.cli.AdminMain.doMain(AdminMain.java:302) at org.glassfish.admin.cli.AsadminMain.main(AsadminMain.java:56) Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Decoder at jdk.internal.misc.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:390) at jdk.internal.misc.ClassLoaders$AppClassLoader.loadClass(java.base@9-ea/ClassLoaders.java:177) at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:373) ... 23 more As per Alan from JDK team the issue is There is effort underway to move or remove all non-critical APIs from sun.misc, see JEP 260 [1]. We hope to be at the point soon where the only critical APIs in sun.misc are those listed in the JEP. So sun.mic.BASE* has been removed as it's not a critical API. I wonder if the maintainers of org.glassfish.security.common.SSHA have looked at java.util.Base64? This was added in Java SE 8 in preparation for the removable of sun.misc.BASE64*. -Alan [1] http://openjdk.java.net/jeps/260

    Java.net JIRA | 10 months ago | Arindam Bandyopadhyay
    java.lang.NoClassDefFoundError: sun/misc/BASE64Decoder at java.lang.ClassLoader.defineClass1(java.base@9-ea/Native Method) at java.lang.ClassLoader.defineClass(java.base@9-ea/ClassLoader.java:928) at java.security.SecureClassLoader.defineClass(java.base@9-ea/SecureClassLoader.java:152) at jdk.internal.misc.BuiltinClassLoader.defineClass(java.base@9-ea/BuiltinClassLoader.java:582) at jdk.internal.misc.BuiltinClassLoader.access$300(java.base@9-ea/BuiltinClassLoader.java:94) at jdk.internal.misc.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:490) at jdk.internal.misc.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:484) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at jdk.internal.misc.BuiltinClassLoader.findClassOnClassPathOrNull(java.base@9-ea/BuiltinClassLoader.java:483) at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:430) at jdk.internal.misc.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:388) at jdk.internal.misc.ClassLoaders$AppClassLoader.loadClass(java.base@9-ea/ClassLoaders.java:177) at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:373)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JDK-9] NoClassDefFoundError: javax/transaction/SystemException

    GitHub | 8 months ago | hasancelik
    java.lang.NoClassDefFoundError: javax/transaction/SystemException at java.lang.Class.getDeclaredMethods0(java.base@9-ea/Native Method) at java.lang.Class.privateGetDeclaredMethods(java.base@9-ea/Class.java:2937) at java.lang.Class.privateGetMethodRecursive(java.base@9-ea/Class.java:3282) at java.lang.Class.getMethod0(java.base@9-ea/Class.java:3252) at java.lang.Class.getMethod(java.base@9-ea/Class.java:1961)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/drftpd/vfs/InodeHandleInterface at java.lang.ClassLoader.defineClass1(java.base@9-ea/Native Method) at java.lang.ClassLoader.defineClass(java.base@9-ea/ClassLoader.java:942) at java.security.SecureClassLoader.defineClass(java.base@9-ea/SecureClassLoader.java:150) at java.net.URLClassLoader.defineClass(java.base@9-ea/URLClassLoader.java:467) at java.net.URLClassLoader.access$100(java.base@9-ea/URLClassLoader.java:78) at java.net.URLClassLoader$1.run(java.base@9-ea/URLClassLoader.java:375) at java.net.URLClassLoader$1.run(java.base@9-ea/URLClassLoader.java:369) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.net.URLClassLoader.findClass(java.base@9-ea/URLClassLoader.java:368)

      at org.java.plugin.standard.StandardPluginClassLoader.loadLocalClass()
    2. jpf
      StandardPluginClassLoader.loadClass
      1. org.java.plugin.standard.StandardPluginClassLoader.loadLocalClass(StandardPluginClassLoader.java:413)
      2. org.java.plugin.standard.StandardPluginClassLoader.loadPluginClass(StandardPluginClassLoader.java:482)
      3. org.java.plugin.standard.StandardPluginClassLoader.loadClass(StandardPluginClassLoader.java:390)
      3 frames
    3. org.java.plugin
      SynchronizedPluginClassLoader.loadClass
      1. org.java.plugin.drftpd.SynchronizedPluginClassLoader.loadClass(SynchronizedPluginClassLoader.java:61)
      1 frame