java.lang.NoClassDefFoundError: GameLauncher (wrong name: com/headfirst/game/GameLauncher)

Coderanch | Nick de Waal | 4 years ago
  1. 0

    IDE or bust?

    Coderanch | 4 years ago | Nick de Waal
    java.lang.NoClassDefFoundError: GameLauncher (wrong name: com/headfirst/game/GameLauncher)
  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 | 4 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. 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

    GameLauncher (wrong name: com/headfirst/game/GameLauncher)

    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