Can you post the actual relevant lines of code? Also, I suspect for
classes, Class.forName() is enough -- no need to find the class first w/
Classloader.getResource( "..." ).
--David
Albert Greinoecker wrote:
I'm sorry I just found out that the cause of the failure described below
lies one
Hi AlbertWhich classloader you want depends on where you loaded your jarTake a
look at
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
HTH/Martin Gainty__Disclaimer and
confidentiality noteEverything in this e-mail and any attachment
I'm sorry I just found out that the cause of the failure described below
lies one step before the class.forName-statement.
Before I'm trying to load the classes with
ClassLoader cld [...]
URL resource = cld.getResource('path/to/the/class/file.class');
so it's clear to me that this cannot work wit
Could you post more info -- e.g. tomcat version, jvm version, class
package and name you are trying to load, any relevant stack traces in
the logs, etc., ...
--David
Albert Greinoecker wrote:
Hi,
I have a problem concerning the classloader tomcat is using, When I try
to load a class dynamic
Hi,
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(), an exception
is thrown. If the class is located at WEB-INF/classes, everything works
fine.
As classloader I am us