java.lang.NoClassDefFoundError: TestPackage1 (wrong name: javahandcode/mainpackage/package1/TestPackage1)

Coderanch | Peter Mc Cormack | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Why Is NoClassDefFoundError Displayed Here?

    Coderanch | 4 years ago | Peter Mc Cormack
    java.lang.NoClassDefFoundError: TestPackage1 (wrong name: javahandcode/mainpackage/package1/TestPackage1)
  2. 0

    Java: java.lang.NoClassDefFoundError

    Stack Overflow | 4 years ago
    java.lang.NoClassDefFoundError: Main (wrong name: com/gorillalogic/quotes/Main)
  3. 0

    NoClassDefFoundError exception after having created jar file

    Stack Overflow | 5 years ago | Mazzy
    java.lang.NoClassDefFoundError: JigMonitorGUI (wrong name: org/w3c/jigmonitor/JigMonitorGUI)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception in thread "main" java.lang.NoClassDefFoundError: program (wrong name: program/Program)

    Stack Overflow | 4 years ago | user1992091
    java.lang.NoClassDefFoundError: Program (wrong name: program/Program)
  6. 0

    Java: Issue running from command line

    Stack Overflow | 4 years ago | Adam_G
    java.lang.NoClassDefFoundError: edu/cuny/pausePred/TemplateToCharTestVector (wrong name: edu/cuny/pausepred/TemplateToCharTestVector)

  1. Nikolay Rybak 2 times, last 2 weeks ago
  2. mauritius 1 times, last 4 months ago
  3. r1chjames 2 times, last 4 months ago
  4. Kialandei 3 times, last 5 months ago
  5. Cafecanudo 7 times, last 9 months ago
82 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

    TestPackage1 (wrong name: javahandcode/mainpackage/package1/TestPackage1)

    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:480)
    13 frames