jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Barrett <jbarr...@finaplex.com>
Subject Re: "Failed to load test suite"
Date Thu, 19 Aug 2004 18:23:44 GMT
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.


Mime
View raw message