java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • problem to run the sample code
    via strutstestcase by nobody
    ,
    • java.lang.NoSuchMethodError: org.apache.struts.action.ActionServlet.findMapping(Ljava/lang/String;)Lorg/apache/struts/action/ActionMapping; at servletunit.struts.Common.getActionConfig(Common.java:260) at servletunit.struts.Common.findForward(Common.java:243) at servletunit.struts.Common.verifyForwardPath(Common.java:137) at servletunit.struts.CactusStrutsTestCase.verifyForward(CactusStrutsTestCase.java:537) at examples.cactus.TestCactusLoginAction.testSuccessfulLogin(TestCactusLoginAction.java:33) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153) at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
    No Bugmate found.