java.lang.NoClassDefFoundError: org/apache/struts/config/ModuleConfig

strutstestcase | nobody | 1 decade 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

    ModuleConfig problem

    strutstestcase | 1 decade ago | nobody
    java.lang.NoClassDefFoundError: org/apache/struts/config/ModuleConfig
  2. 0

    Can't make the test run in strutstest-2.0.0

    strutstestcase | 1 decade ago | nobody
    java.lang.NoClassDefFoundError: org/apache/struts/config/ModuleConfig

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/struts/config/ModuleConfig

      at servletunit.struts.Common.getActionConfig()
    2. servletunit.struts
      MockStrutsTestCase.verifyForward
      1. servletunit.struts.Common.getActionConfig(Common.java:450)
      2. servletunit.struts.Common.findForward(Common.java:425)
      3. servletunit.struts.Common.verifyForwardPath(Common.java:282)
      4. servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.java:571)
      4 frames
    3. test.imagenet.struts
      TestLoginAction.testFailedLogin
      1. test.imagenet.struts.login.TestLoginAction.testFailedLogin(TestLoginAction.java:56)
      1 frame
    4. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    5. com.intellij.rt
      JUnitStarter.main
      1. com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
      1 frame
    6. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    7. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
      1 frame