Incidently, if it matters, I have vanilla configured web.xml and I access the testcase in a browser with this URL: http://localhost/ServletTestRunner?suite=com.finaplex.fwm.tax.TaxTestCase

Thanks.

Jeff Barrett wrote:

Anyone seen this exception before?:

javax.servlet.ServletException: Failed to load test suite [com.finaplex.fwm.tax.TaxTestCase], Reason is [Failed to invoke suite():java.lang.IllegalAccessException: Class junit.runner.BaseTestRunner can not access a member of class com.finaplex.fwm.tax.TaxTestCase with modifiers "public static"]
at org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.java:309)


at org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody0(ServletTestRunner.java:193)

at org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody1$advice(ServletTestRunner.java:124)

at org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunner.java)

     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


I'm using the latest jars from cactus, 1.6.1. I'm in weblogic w/ jdk1.4.2. I'm extending ServletTestCase and hitting it from a browser. TaxTestCase is a public class.


Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to