hi, bob.
I found the reason of the problem .
in my classpath I use a dom4j.jar, and when dom4j.jar is in front of
jaxen-full.jar(or jaxen-core.jar etc), the problem will appear, otherwise,
no problem.
why?
Jack
----- Original Message -----
From: "bob mcwhirter" <[EMAIL PROTECTED]>
To: "jdst" <[EMAIL PROTECTED]>
Cc: "jaxen-interest" <[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 2002 2:36 PM
Subject: Re: [Jaxen] unnormal problem, Help me
>
> 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
>
I found the reason of the problem .
in my classpath I use a dom4j.jar, and when dom4j.jar is in front of
jaxen-full.jar(or jaxen-core.jar etc), the problem will appear, otherwise,
no problem.
why?
Jack
----- Original Message -----
From: "bob mcwhirter" <[EMAIL PROTECTED]>
To: "jdst" <[EMAIL PROTECTED]>
Cc: "jaxen-interest" <[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 2002 2:36 PM
Subject: Re: [Jaxen] unnormal problem, Help me
>
> 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
>
从网站得到更多信息。MSN Explorer 免费下载:http://explorer.msn.com/lccn