[jdom-interest] Jaxen in JDOM - NoSuchMethodError

Jason Hunter jhunter at xquery.com
Mon May 9 11:01:06 PDT 2005


You've got a vanilla Jaxen JAR in your classpath when you need the 
slightly modified Jaxen JAR that's shipped with JDOM.  The modified JAR 
has support for JDOM 1.0 which vanilla Jaxen didn't have.

-jh-

Chris Mannion wrote:

> 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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com


More information about the jdom-interest mailing list