junit.framework.AssertionFailedError: Was expecting 'selectPackage.jsp' but it appears the Action has tried to return an ActionForward that is not mapped correctly.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via strutstestcase by joglekar_pvn
, 1 year ago
Was expecting 'selectPackage.jsp' but it appears the Action has tried to return an ActionForward that is not mapped correctly.
junit.framework.AssertionFailedError: Was expecting 'selectPackage.jsp' but it appears the Action has tried to return an ActionForward that is not mapped correctly.
at servletunit.struts.MockStrutsTestCase.verifyForwardPath(MockStrutsTestCase.java:707)
at com.dna.O2.test.TestCustomerSearchAction.testSuccessfulCustomerSearch(TestCustomerSearchAction.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at com.dna.O2.test.TestCustomerSearchAction.main(TestCustomerSearchAction.java:73)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.