i write very simple cactusstrutstestcase which the name of the class is 
testFlightaction and the name of mehod is testsearchFligtht
but i encounter to this error 
 
 
 
 
 
 Testcase: testSearchFlight(actions.FlightActions.TestFlightAction): Caused an 
ERROR
 Error finding class [actions.FlightActions.TestFlightAction] using both the 
Context classloader and the webapp classloader. Possible causes include:
     - Your webapp does not include your test classes,
     - The cactus.jar is not located in your WEB-INF/lib directory and your 
Container has not set the Context classloader to point to the webapp one
 javax.servlet.ServletException: Error finding class 
[actions.FlightActions.TestFlightAction] using both the Context classloader and 
the webapp classloader. Possible causes include:
     - Your webapp does not include your test classes,
     - The cactus.jar is not located in your WEB-INF/lib directory and your 
Container has not set the Context classloader to point to the webapp one
     at 
org.apache.cactus.internal.server.AbstractWebTestCaller.getTestClassClass(AbstractWebTestCaller.java:501)
     at 
org.apache.cactus.internal.server.AbstractWebTestCaller.getTestClassInstance(AbstractWebTestCaller.java:384)
     at 
org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:109)
     at 
org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93)
     at 
org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:117)
 
 
 
 
i do my best <copy the test classes to the web-inf classes directory and also 
copy cactus.jar to the lib directory of web-inf> but nothing changed 
 
help me.
bye



---------------------------------
Find local movie times and trailers on Yahoo! Movies.

Reply via email to