java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter

strutstestcase | nobody | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    NoClassDefFoundError:org/apache/commons/bean

    strutstestcase | 10 years ago | nobody
    java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/commons/beanutils/Converter

      at servletunit.struts.MockStrutsTestCase.setUp()
    2. servletunit.struts
      MockStrutsTestCase.setUp
      1. servletunit.struts.MockStrutsTestCase.setUp(MockStrutsTestCase.java:115)
      1 frame
    3. test.struts.test
      TestTestAction.setUp
      1. test.struts.test.TestTestAction.setUp(TestTestAction.java:10)
      1 frame
    4. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runBare(TestCase.java:125)
      2. junit.framework.TestResult$1.protect(TestResult.java:106)
      3. junit.framework.TestResult.runProtected(TestResult.java:124)
      4. junit.framework.TestResult.run(TestResult.java:109)
      5. junit.framework.TestCase.run(TestCase.java:118)
      6. junit.framework.TestSuite.runTest(TestSuite.java:208)
      7. junit.framework.TestSuite.run(TestSuite.java:203)
      7 frames
    5. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
      2. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      6 frames