[jdom-interest] SOLVED: Problem with org.jdom.input.DOMBuilder in beta5
Robert Lynch
rmlynch at best.com
Wed Jan 3 23:10:36 PST 2001
I posted* a java.lang.NoSuchMethodError problem with
input.DOMBuilder in a servlet example from the book "XML and
Java".
I found the difficulty: the parser.jar which comes from Tomcat
3.2 has old org.w3c.dom classes in it, and the parser.jar comes
before the xerces.jar in the Tomcat classpath. The latter has
the correct, up-to-date org.w3c.dom classes in it.
I unjarred the parser.jar, removed the org.w3c.dom classes, then
re-jar'd it. The example then works.
With all the jars which are in currency today, I reckon we have a
potential problem with jar versioning along the lines of the "DLL
Hell" one finds on the Windows platform.
Sorry if anyone wasted their time on my post.
Bob L.
* I posted slightly in advance of actually being signed up for
this list, so the post is being held for moderator approval, and
may appear out of sync with this one (I suppose.)
--
Robert Lynch-Berkeley CA USA-rmlynch at best.com
More information about the jdom-interest
mailing list