java.lang.NoClassDefFoundError: classes\com\example\web\test_props (wrong name: com/example/web/test_props)

Coderanch | Angus Comber | 5 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

    Problems running with package name used

    Coderanch | 5 years ago | Angus Comber
    java.lang.NoClassDefFoundError: classes\com\example\web\test_props (wrong name: com/example/web/test_props)
  2. 0

    Problems running with package name used

    Coderanch | 5 years ago | Angus Comber
    java.lang.NoClassDefFoundError: classes\com\example\web\test_props (wrong name: com/example/web/test_props)
  3. 0

    java.lang.NoClassDefFoundError on Netbeans 7.0

    Stack Overflow | 5 years ago | Kenshi Akasaki
    java.lang.NoClassDefFoundError: studentapps/StudentApps (wrong name: StudentApps/StudentApps)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to run a project that written in NetBeans on another computer?

    Stack Overflow | 5 years ago | Blueferi
    java.lang.NoClassDefFoundError: RunServer (wrong name : friendspro/Server/RunServer)
  6. 0

    running first java program

    Coderanch | 4 years ago | Davinderpro java
    java.lang.NoClassDefFoundError: Beersong (wrong name: chap01/BeerSong)

  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

    classes\com\example\web\test_props (wrong name: com/example/web/test_props)

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