[jdom-interest] NoSuchMethodError Again!
Michael Kastner
kastner at galt.de
Mon Sep 3 02:04:11 PDT 2001
Well,
this is about to kill me. I know this has been a topic for quite a while and
it's being described in the JDOM faqs but I just can't solve it.
When I compile the XSLTRansform example from the JDOM-package (b7) I keep
getting this error message (the entire error message is appended at the end
of this message):
java.lang.NoSuchMethodError
at org.apache.xpath.patterns.NodeTest.execute(NodeTest.java:386)
at
org.apache.xpath.axes.PredicatedNodeTest.acceptNode(PredicatedNodeTes
t.java:388)
at
org.apache.xpath.axes.ChildTestIterator.nextNode(ChildTestIterator.ja
va:193) ...
etc.
Now, I've removed all the entries from the classpath, which could somehow
disturb the xerces.jar file. So now my classpath looks like this:
c:\tools\jdom-b7\lib\xerces.jar;c:\tools\jdom-b7\build\jdom.jar;c:\tools\jdo
m-b7\lib\xalan.jar;
And yet, I keep getting the NoSuchMethodError. Can anybody help? Does
anybody have the slightest idea, what I could do to solve this problem?
Greeting in despair
Michael Kastner
----------------------------------------------------------------------------
----------
The entire error message:
----------------------------------------------------------------------------
----------
java.lang.NoSuchMethodError
at org.apache.xpath.patterns.NodeTest.execute(NodeTest.java:386)
at
org.apache.xpath.axes.PredicatedNodeTest.acceptNode(PredicatedNodeTes
t.java:388)
at
org.apache.xpath.axes.ChildTestIterator.nextNode(ChildTestIterator.ja
va:193)
at
org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:255)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2154)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2097)
at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul
t.java:739)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2154)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2097)
at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul
t.java:739)
at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemFor
Each.java:495)
at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTempla
tes.java:193)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2154)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2097)
at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul
t.java:739)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2154)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2097)
at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Tran
sformerImpl.java:2029)
at
org.apache.xalan.transformer.TransformerImpl.transformNode(Transforme
rImpl.java:1189)
at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java
:2894)
at java.lang.Thread.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at org.jdom.output.XMLOutputter.output(XMLOutputter.java:491)
at org.jdom.output.XMLOutputter.output(XMLOutputter.java:470)
More information about the jdom-interest
mailing list