java.lang.NoClassDefFoundError: Sub (wrong name: two/Sub)

Coderanch | Timothy Stone | 2 decades ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    help understanding the package declaration...

    Coderanch | 2 decades ago | Timothy Stone
    java.lang.NoClassDefFoundError: Sub (wrong name: two/Sub)
  2. 0

    User:Melancholie/Java/Batik - OpenStreetMap Wiki

    openstreetmap.org | 11 months ago
    java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument
  3. 0

    Noclassdeffounderror - Java Programming Help - KnowCoding.com

    knowcoding.com | 1 year ago
    java.lang.NoClassDefFoundError: flex/messaging/LocalizedException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jax-ws standalone client null pointer exception

    Oracle Community | 7 years ago | user3653687
    java.lang.NoClassDefFoundError: com/sun/xml/ws/api/SAAJFactory
  6. 0

    Getting below error when running initialize_services.sh

    Oracle Community | 4 years ago | 333
    java.lang.NoClassDefFoundError: com/endeca/soleng/eac/toolkit/Controller Caused by: java.lang.ClassNotFoundException: com.endeca.soleng.eac.toolkit.Controller

    1 unregistered visitors
    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

      Sub (wrong name: two/Sub)

      at java.lang.ClassLoader.defineClass0()
    2. Java RT
      ClassLoader.loadClassInternal
      1. java.lang.ClassLoader.defineClass0(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:477)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101)
      4. java.net.URLClassLoader.defineClass(URLClassLoader.java:247)
      5. java.net.URLClassLoader.access$1(URLClassLoader.java:213)
      6. java.net.URLClassLoader$1.run(URLClassLoader.java:194)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      9. java.lang.ClassLoader.loadClass(ClassLoader.java:299)
      10. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:290)
      11. java.lang.ClassLoader.loadClass(ClassLoader.java:255)
      12. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
      12 frames