jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wes Kubo" <wk...@galdosinc.com>
Subject NoClassDefFoundError: ...ServletTestCase in Oracle 9ias
Date Mon, 21 Jul 2003 20:29:52 GMT
I'm just learning Cactus (with ant integration). I set up ant tasks to
successfully cactify my WAR file, which is part of a EAR. To start, I
manually deployed the EAR to Oracle 9iAS. In my browser, I was able to
access the ServletTestRunner and it recognized my test class but I ended up
with the following exception:

java.lang.NoClassDefFoundError: org/apache/cactus/ServletTestCase
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
	at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1102)
	at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].naming.ContextClassLoader.findClass(ContextClassLoader.java:365)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
	...

I can't figure it out because cactus-1.5-beta1.jar is in WEB-INF/lib. Maybe
I should try an earlier release.

Thanks for any advice.

Wes


Mime
View raw message