jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nguyen, Thod" <TNgu...@corp.untd.com>
Subject New Cactus user needs HELP!!!
Date Fri, 27 Jun 2003 23:48:50 GMT
I wrote a simple sample application to try out the Cactus framework using
Eclipse 2.1. I start Tomcat in Eclipse and then open up the browser and
enter

http://localhost:8081/w/ServletTestRunner?suite=TestSampleServlet

According to the tutorial, I expect to see the reported results
http://jakarta.apache.org/cactus/integration/howto_tomcat.html

but instead I am getting this error. Can someone let me know where do I
specify the SerlvetTestRunner classpath so that it runs properly in Eclipse.


Thanks much for your help.

T.N.

	
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.
exception 
javax.servlet.ServletException: Failed to load test suite
[TestSampleServlet], Reason is [Class not found "TestSampleServlet"]
	at
org.apache.cactus.server.runner.ServletTestRunner.dispatch92_run(ServletTest
Runner.java;org/apache/cactus/util/log/LogAspect.aj(1k):157)
	at
org.apache.cactus.server.runner.ServletTestRunner.around92_run(ServletTestRu
nner.java;org/apache/cactus/util/log/LogAspect.aj(1k):1236)
	at
org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.java
;org/apache/cactus/util/log/LogAspect.aj(1k):137)
	at
org.apache.cactus.server.runner.ServletTestRunner.dispatch91_doGet(ServletTe
stRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):121)
	at
org.apache.cactus.server.runner.ServletTestRunner.around91_doGet(ServletTest
Runner.java;org/apache/cactus/util/log/LogAspect.aj(1k):1156)
	at
org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunner.ja
va;org/apache/cactus/util/log/LogAspect.aj(1k):101)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)




.

Mime
View raw message