[jdom-interest] SAXBuilder not found

Paul Cooper paul_premis at cooperscoop.com
Tue Jul 12 13:14:57 PDT 2005


Is Xerces or some SAX parser in your classpath? JDom 1.0 includes xerces.jar
in the lib folder.
 
Paul Cooper

  _____  

From: jdom-interest-bounces at jdom.org [mailto:jdom-interest-bounces at jdom.org]
On Behalf Of Jim Swenson
Sent: Tuesday, July 12, 2005 3:43 PM
To: jdom-interest at jdom.org
Subject: [jdom-interest] SAXBuilder not found


I recompiled a working program from Java 1.3 to 1.4.2_08.  Now when it runs,
it throws an error:
org.jdom.JDOMException: SAX2 driver class
org.apache.xerces.parsers.SAXParser not found: SAX2 driver class
org.apache.xerces.parsers.SAXParser not found

I have no idea how to fix this problem, but I really need to.  Are there any
suggestions?
And where will this get posted so that I can see if anyone responds or not?

 
The full error is the following:
org.jdom.JDOMException: SAX2 driver class
org.apache.xerces.parsers.SAXParser not found: SAX2 driver class
org.apache.xerces.parsers.SAXParser not found
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:320)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:408)
 at rva.RVA.postData(RVA.java:421)
 at rva.RVA.logon(RVA.java:475)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
 at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
 at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
 at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
Root cause: java.lang.ClassNotFoundException:
org/apache/xerces/parsers/SAXParser
 at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:237)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:408)
 at rva.RVA.postData(RVA.java:421)
 at rva.RVA.logon(RVA.java:475)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
 at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
 at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
 at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
Root cause: java.lang.ClassNotFoundException:
org/apache/xerces/parsers/SAXParser
 at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:237)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:408)
 at rva.RVA.postData(RVA.java:421)
 at rva.RVA.logon(RVA.java:475)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
 at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
 at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
 at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
 
 
Thanks in advance.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20050712/d668e707/attachment.htm


More information about the jdom-interest mailing list