[jdom-interest] NoSuchMethodError while running samples

Jason Hunter jhunter at collab.net
Tue Feb 27 10:29:52 PST 2001

> javac -classpath
> .:/home/nickf/XML/jdom-b6/build/jdom.jar:/home/nickf/XML/jdom-b6/lib/xerces.
> jar:/usr/share/java/postgresql.jar:  Exporter.java
> I made sure there wasn't anything referencing XML in the system extensions
> for my JRE, & since I'm supplying an explicit classpath, I shouldn't be
> picking up anything from a system classpath.

My guess is you're probably having a conflict with an old JDOM JAR in
the standard extensions directory, as explained in the FAQ.  Supplying
an explicit classpath doesn't remove that dir from consideration.


More information about the jdom-interest mailing list