You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by "Volkmann, Mark" <Ma...@AGEDWARDS.com> on 2002/02/15 17:50:36 UTC

java.lang.NoClassDefFoundError: org/apache/cactus/ServletTestCase

Here's part of the stack trace I'm getting.
cactus.jar, junit.jar and aspectjrt.jar are in the WEB-INF/lib of the WAR
file of my web application.
They are not available through my CLASSPATH.
How could it find AbstractTestCaller, but not find ServletTestCase?

java.lang.NoClassDefFoundError: org/apache/cactus/ServletTestCase
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLo
ader.java:339)
at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.
java:156)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at
weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClas
sLoader.java:43)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at
org.apache.cactus.server.AbstractTestCaller.getTestClassClass(AbstractTestCa
ller.java:326)


***************************************************************************************
WARNING:  All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
***************************************************************************************