java.lang.NoClassDefFoundError

tip

org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • NoClassDeffFound running with ant task
    via strutstestcase by nobody
    ,
  • [vfs] how do I run the unit tests?
    via by Jeff Barrett,
  • [ant][eclipse][junit] fails to build
    via by Jesus Angeles,
  • NoClassDefFoundError - API 21
    via GitHub by enyciaa
    ,
  • Freeze on MDK10 startup
    via freemind by nobody
    ,
  • What is Javax?
    via by 807596,
    • java.lang.NoClassDefFoundError: servletunit/struts/MockStrutsTestCase at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:204) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:519)

    Users with the same issue

    Unknown visitor1 times, last one,
    pulse00
    6 times, last one,
    guizmaii
    2 times, last one,
    andyglick
    1 times, last one,
    serious2monkeys
    60 times, last one,
    58 more bugmates