java.lang.NoClassDefFoundError: ClientREST (wrong name: clientrest/ClientREST)

Stack Overflow | thinkBig | 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

    NoClassDefFoundError: wrong name

    Stack Overflow | 5 years ago | thinkBig
    java.lang.NoClassDefFoundError: ClientREST (wrong name: clientrest/ClientREST)
  2. 0

    error in java basic test program

    Stack Overflow | 5 years ago | xyz
    java.lang.NoClassDefFoundError: JarTest (wrong name: edu/testjava/simple/JarTest)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Creating a jar file with multiple class dependencies

    Stack Overflow | 6 years ago | Jim
    java.lang.NoClassDefFoundError: Client (wrong name: Client/Client)
  5. 0

    In Java: Could not find the main class

    Stack Overflow | 5 years ago | Preethi Jain
    java.lang.NoClassDefFoundError: TestClient (wrong name: com/tata/bayer/service/TestClient)

  1. Handemelindo 4 times, last 2 months ago
  2. Hronom 1 times, last 2 months ago
  3. andyglick 2 times, last 2 months ago
  4. batwalrus76 6 times, last 2 months ago
  5. kjhdofjosvs 3 times, last 3 months ago
7 more registered users
88 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

    ClientREST (wrong name: clientrest/ClientREST)

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    4. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    5. java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    6. java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    10. java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    11. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    12. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    12 frames