xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Exception for org.jaxen.XPathFunctionContext
- From: "Wei Hu" <foxwei AT gmail.com>
- To: "Elliotte Harold" <elharo AT metalab.unc.edu>
- Cc: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] Exception for org.jaxen.XPathFunctionContext
- Date: Fri, 16 Jun 2006 08:28:26 -0600
Hello,
I should take my word back.
I saw XPathFunctionContext.<clinit> but not <init>.
Thanks,
Wei
>Wei Hu wrote:
>> Hello,
>>
>> Downloaded xom 1.1 and try to do element.query("//test"), got following
>> exception:
>>
>> Exception in thread "main" java.lang.NoSuchMenthodError:
>> org.jaxen.XPathFunctionContext.<init>(Z)V
>> at nu.xom.JaxenConnector.<clinit>(JaxenConnector.java:45)
>> at nu.xom.Node.query(Node.java:424)
>> at nu.xom.Node.query(Node.java:514)
>> at com.xxx.test.XOM.treeQuery(XOMTest.java:35)
>>
>
>That really sounds like a classpath problem, which is hard to diagnose
>remotely. Why NoSuchMenthodError instead of NoSuchMethodError? Is that
>the actual exception trace?
>
>>
>> I even downloaded jaxen and put into classpath, still the same problem.
>>
>
>You shouldn't need to do that. Jaxen is compiled straight into XOM. Try
>taking it out of the classpath.
>
>
>--
>Elliotte Rusty Harold elharo AT metalab.unc.edu
>Java I/O 2nd Edition Just Published!
>http://www.cafeaulait.org/books/javaio2/
>http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
= = = = = = = = = = = = = = = = = = = =
-
Re: [XOM-interest] Exception for org.jaxen.XPathFunctionContext,
Wei Hu, 06/16/2006
- Re: [XOM-interest] Exception for org.jaxen.XPathFunctionContext, Elliotte Harold, 06/16/2006
- <Possible follow-up(s)>
- Re: [XOM-interest] Exception for org.jaxen.XPathFunctionContext, Wei Hu, 06/16/2006
Archive powered by MHonArc 2.6.24.