java.lang.NoClassDefFoundError: junit/framework/TestCase

Coderanch | Andre Brito | 8 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

    Error with execution using packages in command line

    Coderanch | 8 years ago | Andre Brito
    java.lang.NoClassDefFoundError: junit/framework/TestCase
  2. 0

    how to run a junit test?

    Oracle Community | 1 decade ago | 807607
    java.lang.NoClassDefFoundError: junit/framework/TestCase
  3. 0

    B Eckel's build.xml and mine

    Coderanch | 1 decade ago | miguel lisboa
    java.lang.NoClassDefFoundError: junit/framework/TestCase
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Yet another Java classpath problem

    Stack Overflow | 7 years ago | pypmannetjies
    java.lang.NoClassDefFoundError: Main (wrong name: pro ject2/Main)
  6. 0

    Problems in running a modified Java code

    Stack Overflow | 5 years ago | user1200825
    java.lang.NoClassDefFoundError: TanaModel (wrong name: models/TanaModel)

    1 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

      junit/framework/TestCase

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      ClassLoader.loadClassInternal
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      4. java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      5. java.net.URLClassLoader.access$000(URLClassLoader.java:56)
      6. java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      9. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      10. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
      11. java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      12. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      12 frames