[jdom-interest] Tomcat and JDOM

Gary Bentley gb at opengroup.org
Wed Mar 21 07:10:09 PST 2001

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!),


More information about the jdom-interest mailing list