[jdom-interest] Jaxen in JDOM - NoSuchMethodError

Chris Mannion chris.mannion at itjunction.com
Mon May 9 07:55:43 PDT 2005


Hi all,

Are there known issues with using Jaxen together with JDOM for XPath processing?  I've been using org.jdom.xpath.XPath to try to apply xpath expressions but always get the same runtime error -

java.lang.NoSuchMethodError: org.jaxen.BaseXPath.<init>(Ljava/lang/String;Lorg/jaxen/Navigator;)V: org.jaxen.BaseXPath.<init>(Ljava/lang/String;Lorg/jaxen/Navigator;)V
 at org.jdom.xpath.XPath.newInstance(XPath.java:139)

I know this error has been queried before on the list but never with any helpful response.  This seems to be an error with the JDOM code rather than in my code, is it a known issue/is there any fix available?  I'm running with all the libraries from the JDOM 1.0 release and am confidant there are no old copies anywhere in my classpath (or anywhere on my machine for that matter.)

Any thoughts or info would be greatly appreciated, I'm in a "needs to be done yesterday" situation.

Chris Mannion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20050509/549b0853/attachment.htm


More information about the jdom-interest mailing list