Provider org.apache.crimson.jaxp.SAXParserFactoryImpl not found [message #211106] |
Mon, 15 March 2004 03:20 |
Eclipse User |
|
|
|
Originally posted by: cburleso.us.ibm.com
Can someone please help?
I am trying to use JAXB in a plugin for unmarshalling an XML file into
java objects. I keep getting the following error when I try to run my
plugin in the runtime workbench:
Unhandled exception caught in event loop.
Reason:
Provider org.apache.crimson.jaxp.SAXParserFactoryImpl not found
I have included all the necessary libs in my plugin.xml file as follows:
<runtime>
<library name="pds.jar"/>
<library name="lib/crimson.jar"/>
<library name="lib/xercesImpl.jar"/>
<library name="lib/dom.jar"/>
<library name="lib/jaxp-api.jar"/>
<library name="lib/jaxb-api.jar"/>
<library name="lib/jaxb-impl.jar"/>
<library name="lib/jaxb-libs.jar"/>
<library name="lib/jaxb-xjc.jar"/>
<library name="lib/activation.jar"/>
<library name="lib/jax-qname.jar"/>
<library name="lib/log4j-1.2.8.jar"/>
<library name="lib/namespace.jar"/>
<library name="lib/relaxngDatatype.jar"/>
<library name="lib/sax.jar"/>
<library name="lib/xalan.jar"/>
<library name="lib/xsdlib.jar"/>
</runtime>
Still, however, no matter what I do, I get the error. I also tried to set
a system property to change my parser to xerces instead of crimson as
follows:
System.setProperty("javax.xml.parsers.DocumentBuilderFactory ",
"org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
System.setProperty("javax.xml.parsers.SAXParserFactory",
"org.apache.xerces.jaxp.SAXParserFactoryImpl");
But this then just returns the error:
Unhandled exception caught in event loop.
Reason:
Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
|
|
|
Powered by
FUDForum. Page generated in 0.04804 seconds