[jdom-interest] SAX2 driver class org.apache.xerces.parsers.SAXParser not found

Nishan_Fonseka at canadalifeus.com Nishan_Fonseka at canadalifeus.com
Mon Dec 3 10:00:29 PST 2001


I get this error when I try to run my program.

Caught JDOMException: org.jdom.JDOMException: Error
in building: SAX2 driver class org.apache.xerces.parsers.SAXParser not
found

I checked the faq and I have the correct xerces.jar in the classpath and it
is the first jar. I am running this on Windows NT as a stand alone program.
I have a bat file that sets up the classpath before calling the java.exe.
This program works on my dev box but I wont run on the production box wit a
bat file that sets up the classpath exactly the same way. I moved all the
relevant jars that are on the dev box to the production box. There are no
xerces.jar in lib/ext directory either. This looks very much like a
classpath issue. Is there anything besides the xerces.jar that can cause
this problem. Only thing different on the two boxes, as far as I can tell
are the jvm but should that make a difference? On the box that works it is:
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cn130-20010207 (JIT enabled:
jitc))

and on the box it doesnt work:
java version "1.2.2"
Classic VM (build JDK-1.2.2_006, native threads, symcjit)

Thanks for any help.

Nishan
ps I am using beta6 and I am stuck with it for now.




More information about the jdom-interest mailing list