views:

179

answers:

2

Hi i am new to cactus and when i am using tomcat5.1 and have included all the necessary jars. But when i am trying to execute it, it is showing the error,

Error : "javax.servlet.ServletException: Failed to load test suite [SampleTest], Reason is [Class not found "SampleTest"] "

Please let me know what the problem is??

+1  A: 

You need to include the package ie:

http://localhost:8080/myapp/ServletTestRunner?suite=common.TestEverything

Would run the suite TestEverything in the common package.

MontyBongo
I looked into Cactus a bit more, finally, and found your solution to work. Better then my solution. :) so Thanks!
Chris Persichetti
+1  A: 
Chris Persichetti
Thanks i will try it out.
i2ijeya