java.lang.NoClassDefFoundError: Test (wrong name: pkg /Test)

Coderanch | Varun Prasad | 3 years ago
  1. 0

    Execution error

    Coderanch | 3 years ago | Varun Prasad
    java.lang.NoClassDefFoundError: Test (wrong name: pkg /Test)
  2. 0

    How to make Eclipse include third party libraries

    Stack Overflow | 3 years ago | Gurgle528
    java.lang.NoClassDefFoundError: gSportsParser (wrong name: gSportsParser/gSportsParser)
  3. 0

    What is wrong with my code?Exception in thread "main" java.lang.NoClassDefFoundError: song (wrong name: Song)

    Stack Overflow | 3 years ago | user2918039
    java.lang.NoClassDefFoundError: song (wrong name: Song)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Program runs in Eclipse, doesn't run at command line

    Stack Overflow | 3 years ago | user2940619
    java.lang.NoClassDefFoundError: Assignment02Q01Sec01 (wrong name: hw/Assignment02Q01Sec01)
  6. 0

    How to run a .class file that is part of a package from cmd?

    Stack Overflow | 3 years ago
    java.lang.NoClassDefFoundError: HelloWorld (wrong nam e: com/HelloWorld)

  1. Kialandei 3 times, last 2 weeks 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

    Test (wrong name: pkg /Test)

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    LauncherHelper.checkAndLoadMain
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(Unknown Source)
    3. java.security.SecureClassLoader.defineClass(Unknown Source)
    4. java.net.URLClassLoader.defineClass(Unknown Source)
    5. java.net.URLClassLoader.access$100(Unknown Source)
    6. java.net.URLClassLoader$1.run(Unknown Source)
    7. java.net.URLClassLoader$1.run(Unknown Source)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(Unknown Source)
    10. java.lang.ClassLoader.loadClass(Unknown Source)
    11. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    12. java.lang.ClassLoader.loadClass(Unknown Source)
    13. sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
    13 frames