Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Provider org.apache.crimson.jaxp.SAXParserFactoryImpl not found
Provider org.apache.crimson.jaxp.SAXParserFactoryImpl not found [message #211106] Mon, 15 March 2004 03:20
Eclipse UserFriend
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
Previous Topic:A Problem Installing a plug-in
Next Topic:How many new functions are added into Eclipse 3.0
Goto Forum:
  


Current Time: Tue Jul 22 08:35:51 EDT 2025

Powered by FUDForum. Page generated in 0.03414 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top