jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fred Loney" <lo...@spiritedsw.com>
Subject Re: java.lang.NoClassDefFoundError: org/apache/cactus/ServletTestCase
Date Sat, 23 Feb 2002 06:45:38 GMT
> The solution was to ensure that all ServletTestCase subclasses are in
> the war classes or a war lib rather than a common ear lib.

As a follow-up, the ServletTestCase subclasses must reside in a war lib
.jar, not in the war classes. For Jetty (and other web containers?), war
classes are loaded by their own classloader that is a parent of the web
lib context classloader, resulting in the same problem as before.

To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>

View raw message