java.lang.NoClassDefFoundError: servletunit/struts/MockStrutsTestCase

strutstestcase | nobody | 1 decade ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and poroszd . Or join the community to write better ones.
  1. 0

    NoClassDeffFound running with ant task

    strutstestcase | 1 decade ago | nobody
    java.lang.NoClassDefFoundError: servletunit/struts/MockStrutsTestCase
  2. 0

    [vfs] how do I run the unit tests?

    commons-user | 1 decade ago | Jeff Barrett
    java.lang.NoClassDefFoundError: org/w3c/dom/Node
  3. 0

    [ant][eclipse][junit] fails to build

    Coderanch | 1 decade ago | Jesus Angeles
    java.lang.NoClassDefFoundError: org/w3c/dom/Node
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar
  6. 0
    samebug tip
    Upgrade play-plugins-redis to play-modules-redis. You may have to delete com.typesafe.plugin.RedisPlugin from play.plugins

  1. jf-ast 1 times, last 1 week ago
  2. jokester 2 times, last 3 months ago
  3. andyglick 1 times, last 3 months ago
  4. rlovtangen 2 times, last 4 months ago
  5. serious2monkeys 1 times, last 4 months ago
8 more registered users
87 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

    servletunit/struts/MockStrutsTestCase

    at java.lang.ClassLoader.defineClass0()
  2. Java RT
    Class.forName
    1. java.lang.ClassLoader.defineClass0(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    7. java.security.AccessController.doPrivileged(Native Method)
    8. java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    9. java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    10. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    11. java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    12. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    13. java.lang.Class.forName0(Native Method)
    14. java.lang.Class.forName(Class.java:141)
    14 frames
  3. Apache Ant + JUnit
    JUnitTestRunner.main
    1. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:204)
    2. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177)
    3. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:519)
    3 frames