tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Albert Greinoecker <>
Subject Classloader - WEB-INF/lib
Date Wed, 10 Oct 2007 12:42:26 GMT

I have a problem concerning the classloader tomcat is using, When I try
to load a class dynamically, which is located witihn a jar-archive
under /WEB-INF/lib with class.forName(<full_class_name>), an exception
is thrown. If the class is located at WEB-INF/classes, everything works

As classloader I am using:
Thread.currentThread().getContextClassLoader(); Should I use a different
one? What would be the best approach to solve this?


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message