jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: java.lang.NoClassDefFoundError: junit/framework/TestCase, Catelina log seems to show that Junit.jar is corrected loaded
Date Wed, 17 Apr 2002 07:44:19 GMT
Hehe . It means that you do not have junit.jar in your WEB-INF/lib
directory.

 

Thanks

-Vincent

 

-----Original Message-----
From: Jacek Skrzypiec [mailto:jacek@learning-media.net] 
Sent: 16 March 2002 15:54
To: cactus-user@jakarta.apache.org
Subject: java.lang.NoClassDefFoundError: junit/framework/TestCase,
Catelina log seems to show that Junit.jar is corrected loaded

 

Dear All,

 

I'm getting the following exception when using j2ee 1.3._01, Tomacat 4.0
on Windows XP.

I think that junit.jar is included on teh server classpath, please look
at the atached Catalin log.

 

I don't know wthat I'm doing wrong.

 

Thanks a lot for help.

 

StandardWrapperValve[ServletRedirector]: Servlet.service() for servlet
ServletRedirector threw exception
javax.servlet.ServletException: You must put the JUnit jar in your
server classpath (in WEB-INF/lib for example)
 at
org.apache.cactus.server.AbstractTestController.handleRequest(AbstractTe
stController.java:145)
 at
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirec
tor.java:134)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilt
erChain.java:197)
 at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterC
hain.java:176)
 at java.security.AccessController.doPrivileged(Native Method)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:172)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e..java:243)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e..java:215)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
 at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va:246)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:231
4)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:164)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
 at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:
368)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:163)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava:995)
 at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
1088)
 at java.lang.Thread.run(Thread.java:484)
----- Root Cause -----
java.lang.NoClassDefFoundError: junit/framework/TestCase
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:428)
 at
com.sun.enterprise.util.EJBClassLoader.findClass(EJBClassLoader.java:195
)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
 at
org.apache.cactus.server.ServletTestController.getTestCaller(ServletTest
Controller.java:85)
 at
org.apache.cactus.server.AbstractTestController.handleRequest(AbstractTe
stController.java:117)
 at
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirec
tor.java:134)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilt
erChain.java:197)
 at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterC
hain.java:176)
 at java.security.AccessController.doPrivileged(Native Method)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:172)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e..java:243)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e..java:215)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
 at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va:246)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:231
4)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:164)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
 at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:
368)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:163)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava:995)
 at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
1088)
 at java.lang.Thread.run(Thread.java:484)


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message