Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

RE: [jdom-interest] SAXBuilder not found

Edelson, Justin

2005-07-12


Is Xerces in your runtime classpath?


From: jdom-interest-bounces@jdom.org on behalf of Jim Swenson
Sent: Tue 7/12/2005 3:43 PM
To: jdom-interest@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

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.