Hi folks, I having problems getting batik up and running, and was wondering
whether anyone out there can confirm my suspisions as to what is wrong.

I'm running batik via servlets, Struts, and Velocity in Tomcat 4.0.3, and
most of batik seems to be working ok. I can emit svg diagrams with no
trouble, but the problem comes when trying to emit a png/jpeg etc. When I do
this I get a class not found error on org/w3c/dom/svg/SVGPaint. I've
downloaded the sources and stepped through the code, and the error seems to
happen in the constructor for ImageTranscoder in the line...

        hints.put(KEY_DOM_IMPLEMENTATION,
                  ExtensibleSVGDOMImplementation.getDOMImplementation());

This suggests to me that it may be because I have incompatible versions of
the xml classes on classpath, but I've tried updating all of my xml jar
files etc with the versions of the classes in the batik jar file, and I
still get the same error. I've tried several different jdks, and both
versions of batik, and I get the same results every time.

Has anyone encountered anything like this before, and maybe have a solution?

Thanks,
Iain


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to