[jdom-interest] Tomcat and JDOM

Gary Bentley gb at opengroup.org
Wed Mar 21 07:39:03 PST 2001

No need to respond...fixed it...

Needed to put the JAR files, jaxp.jar, jdom.jar and crimson.jar in the
$TOMCAT_HOME/lib and ensure that jaxp.jar is overwritten with the newer

Any other info anyone has though would be welcome...


-----Original Message-----
From: jdom-interest-admin at jdom.org
[mailto:jdom-interest-admin at jdom.org]On Behalf Of Gary Bentley
Sent: Wednesday, March 21, 2001 3:10 PM
To: jdom-interest at jdom.org
Subject: [jdom-interest] Tomcat and JDOM

Hi folks,

Probably a simple answer but I'm a bit baffled...

How do I get Tomcat and JDOM 6 to work together?  Keep getting:

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

Now I can get it to work with JServ...

On Tomcat, I have jaxp.jar, jdom.jar and crimson.jar in the WEB-INF/lib
directory...maybe this is a question for the Tomcat mailing list but I'm
trying here first...

Also, I have expanded the jars into the WEB-INF/classes directory as well...

Now I know that the org.apache.xerces directory is not present (I checked
the Jar)...so why is JDOM looking for it...isn't it supposed to use JAXP by
default now and it should be able to find that...it shoudn't be a class
loader problem since Tomcat is supposed to use a different class loader per
web application...

Cheers (hopefully!),


To control your jdom-interest membership:

More information about the jdom-interest mailing list