I have been trying to run the example app (mock) and have been stymied by a NoSuchMethodError coming from
servletunit.struts.Common.getTilesForward(Common.java:101) servletunit.struts.Common.verifyForwardPath(Common.java:146) servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.java:386) examples.TestLoginAction.testFailedLogin(TestLoginAction.java:49)
This is using strutstest 1.19 with struts 1.1b, JUnit3.8.1 servlet 2.2
Has anyone seen this before? I assume it is either a version mismatch or a classpath problem but cannot seem to find the root.
Answering my own question;
This is the error you get if you try to use struts 1.1b1 with 1.9. Upgrading to 1.1b2 fixes the problem...
Log in to post a comment.
I have been trying to run the example app (mock) and have been stymied by a NoSuchMethodError coming from
servletunit.struts.Common.getTilesForward(Common.java:101)
servletunit.struts.Common.verifyForwardPath(Common.java:146)
servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.java:386)
examples.TestLoginAction.testFailedLogin(TestLoginAction.java:49)
This is using strutstest 1.19 with struts 1.1b, JUnit3.8.1 servlet 2.2
Has anyone seen this before? I assume it is either a version mismatch or a classpath problem but cannot seem to find the root.
Answering my own question;
This is the error you get if you try to use struts 1.1b1 with 1.9. Upgrading to 1.1b2 fixes the problem...