Hi,

I have a servlet which dynamically loads classes from jar-files
located in WEB-INF/lib/,
however tomcat somehow seems to ignore those jar-files.

in WEB-INF/lib/Notepad.jar there is a class Notepad.class (without any package),
however loading that class yields:

Loading Application Class: Notepad
java.lang.ClassNotFoundException: Notepad
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:186)
        at net.java.openjdk.cacio.servlet.AppStarter.doGet(Unknown Source)


Any idea what could be the problem here?
Does tomcat use some kind of security manager which is blocking class-loading?

Thank you in advance, Clemens

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to