I'm not using Tomcat. I just have a standalone application that I'm using. All the libraries are in a directory that I add to my classpath. The error I'm getting is that the image is not found.

Thanks

mike
On Tuesday, March 12, 2002, at 11:17 AM, Guillaume Laforge wrote:

Hello Michael,
 
Do you still have the same problem ? (SVGDocument class not found ?)
I've got the same problem. It heavily depends on your tomcat version you are using.
A quick hack for me was to move batik.jar from my WEB-INF/lib directory to Tomcat's common/lib.
It works, but it's not very cool if you wish to make a deployable archive (a WAR file), because you have to install the WAR, AND THEN : Batik.jar in common/lib.
I think the problem comes from Tomcat itself, in the way it loads the jar files. The custom class loaders behaves totally differently between Tomcat 3.2 and Tomcat 4.0.x. And even between Tomcat 4.0.1, 2 and 3 !!!!
I dont have the problem with Tomcat 4.0.1 (jdk1.3.1 on Linux and on Windows2K) and the problem appears with Tomcat 4.0.3 on W2K. 
Did you find another solution to this problem ?
 
Guillaume

Reply via email to