I have a simple servlet that is basically straight out of the example for
translating svg to jpg. (Hence, the clever name.) It was working just fine
until I messed around with the jar files in my webapp and container's
classpath. Now, it seems that whatever XMLReader implementation the factory
is trying to get isn't the right one.
[Tue Nov 12 15:56:56 EST 2002] java.io.IOException: SAX2 driver class
org.apache.crimson.parser.XMLReaderImpl does not implement XMLReader
[Tue Nov 12 15:56:56 EST 2002] at
org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
[Tue Nov 12 15:56:56 EST 2002] at
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
[Tue Nov 12 15:56:56 EST 2002] at
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
[Tue Nov 12 15:56:56 EST 2002] at
org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
[Tue Nov 12 15:56:56 EST 2002] at
gov.nih.nci.dtp.servlets.SvgToJpg.doGet(SvgToJpg.java:43)
I've had similiar problems recently where I had to do a call like this:
System.setProperty("javax.xml.transform.TransformerFactory",
org.apache.xalan.processor.TransformerFactoryImpl");
so that I could do XML transformations after the same jar file
reorganization. Has anyone run into a situation like this where they had to
explicitly set the implementation class?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]