java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

strutstestcase | nobody | 1 decade 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: org/apache/commons/logg

    strutstestcase | 1 decade ago | nobody
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/commons/logging/LogFactory

      at servletunit.struts.MockStrutsTestCase.<clinit>()
    2. servletunit.struts
      MockStrutsTestCase.<clinit>
      1. servletunit.struts.MockStrutsTestCase.<clinit>(MockStrutsTestCase.java:80)
      1 frame
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.newInstance(Native Method)
      1 frame
    4. JUnit
      TestSuite.<init>
      1. junit.framework.TestSuite.addTestMethod(TestSuite.java:102)
      2. junit.framework.TestSuite.<init>(TestSuite.java:66)
      2 frames
    5. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.getTest(RemoteTestRunner.java:270)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:307)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:218)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:151)
      4 frames