java.lang.NoClassDefFoundError: TestDraw (wrong name: Part_5/TestDraw)

Coderanch | Ciaran Mooney | 4 years ago
  1. 0

    Cant run JAR file

    Coderanch | 4 years ago | Ciaran Mooney
    java.lang.NoClassDefFoundError: TestDraw (wrong name: Part_5/TestDraw)
  2. 0

    setting JAVA_HOME & CLASSPATH in CentOS 6

    Stack Overflow | 4 years ago | Juneyoung Oh
    java.lang.NoClassDefFoundError: A (wrong name: a/A)
  3. 0

    Java.lang.NoClassDefFoundError after using maven for the first time?

    Stack Overflow | 4 years ago | Kynian
    java.lang.NoClassDefFoundError: SoapServer/SoapServer (wrong name: com/test/SoapServer/SoapServer)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Running java program failed despite compling and running with the same version

    Stack Overflow | 4 years ago | MMAB
    java.lang.NoClassDefFoundError: ComboBoxDemo2 (wrong name: components/ComboBoxDemo2)
  6. 0

    Apache Ant java.lang.NoClassDefFoundError

    Stack Overflow | 3 years ago | user2619249
    java.lang.NoClassDefFoundError: LoadServer (wrong name: org/module/loader/LoadServer)

  1. Kialandei 3 times, last 1 week ago
  2. Cafecanudo 7 times, last 4 months ago
81 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

    TestDraw (wrong name: Part_5/TestDraw)

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    LauncherHelper.checkAndLoadMain
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:791)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    10. java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    11. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    12. java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    13. sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
    13 frames