What version of JDOM are you using? I can't imagine it mattering, but... Also, you might have only jaxen-jdom.jar in your classpath, in which case you need to toss in jaxen-core.jar also.
-bob On Wed, 23 Oct 2002, jdst wrote: > I m a newbie. > And I use jaxen-FCS 1.0 to get Xpath from Xml. > Follow is My code, I use Jdom Document. > > .......Code.............. > > BaseXPath thePath = null; > thePath = new JDOMXPath(inXpathExpr); > > .......Exception Stack............. > > > java.lang.NoSuchMethodError: org.jaxen.BaseXPath.<init> > (Ljava/lang/String;Lorg/jaxen/Navigator;)V > > at org.jaxen.jdom.JDOMXPath.<init>(JDOMXPath.java:103) > > at >com.pacific.platform.workflowImpl.elmentDefine.JdomMiscManager.getXpathContent(JdomMiscManager.java:64) > > at >com.pacific.platform.workflowImpl.elmentDefine.TestJdomMiscManager.testGetXpathContent(TestJdomMiscManager.java:48) > > .......................................... > the arg inXpathExpr is String type. > I find the BaseXPath Definition and the constuct BaseXPath(String) exist. > > why I get this Exception, and How could I can resolve this problem. ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest