Is it in the servlet container's class path or the webapp classpath? I believe it must be reachable by the webapp classloader - which does not delegate to a "higher level" class loader.

Jim Murphy
Mindreef, Inc.


Greg Michalopoulos wrote:

Could be a real dumb question but...
Using apache wss4j, and trying to use a custom password callback class.
Thing is, if I don't add the custom password callback class to the wss4j jar
file, I get a java.lang.NoClassDefFound exception - even if the custom class
is in the class path of the servlet container (J2EE app server).  Any clues?

Its annoying because I have extended an existing class in my app that calls
on many other classes that I don't want to have to add to the jar.  Plus
deploying to clients would mean they would need the custom wss4j jar instead
of the publically available one.

Thanks,
Greg



Reply via email to