I performed the following steps to install the SVG
Eclipse plug in
1) download batik-plugin410.zip
2) unzipp it in my eclipse directory (made sure eclipse
wasn't running)
3) launched Eclipse with a clean switch
./eclipse -clean
4) Open the SVG perspective
4) Created a new project "SVG Examples Project"
5) Tried to open anne.svg in the SVG Browser
And I get the following error:
javax.xml.parsers.FactoryConfigurationError: Provider for
javax.xml.parsers.SAXParserFactory cannot be found
at
javax.xml.parsers.SAXParserFactory.newInstance(Unknown
Source)
at
com.dlsc.batik.viewer.EclipseSAXSVGDocumentFactory.createDocument(Eclip
seSAXSVGDocumentFactory.java:28)
at
org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown
Source)
at
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
at
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createSVGDocument(Unknow
n Source)
at
org.apache.batik.bridge.DocumentLoader.loadDocument(Unknown
Source)
at
org.apache.batik.swing.svg.SVGDocumentLoader.run(Unknown
Source)
java.lang.Exception: Provider for
javax.xml.parsers.SAXParserFactory
cannot be found
at
org.apache.batik.swing.svg.SVGDocumentLoader.run(Unknown
Source)
I am running Eclipse 3.1 Milestone 5a, Java 1.5.0_02-b09
from Sun, and Debian Linux (installed from a Knoppix
Live CD and updated with apt-get for about a year.)
I have also tested with the same Eclipse and Java
releases under Win2000 and I get the same error.
All the jars listed in the
plugins/com.batik_4.1.0/plugin.xml are in the correct
place (including xerces_2_5_0.jar and xml-apis.jar)
except batik-slideshow.jar.
I couldn't find that jar file anywhere.
Logged In: NO
I got the same problem. Any fixes?