You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by JP <jp...@yahoo.com> on 2001/05/25 10:42:50 UTC

NoSuchMethodError(... DOM2Helper.java:326)

Hello all,

I just downloaded xalan and am trying to get it to
work on my Debian machine. I am running into a runtime
error when trying to execute the SimpleTransform
example. I have not been able to find a solution for
this problem online, and the archive for this mailing
list is currently offline.

/usr/local/share/xalan-j_2_1_0/samples/SimpleTransform#
echo $CLASSPATH
/usr/local/share/xalan-j_2_1_0/bin/xalan.jar:/usr/local/share/xalan-j_2_1_0/bin/xerces.jar:/usr/local/share/xalan-j_2_1_0/bin/xalansamples.jar

/usr/local/share/xalan-j_2_1_0/samples/SimpleTransform#
javac SimpleTransform.java 


/usr/local/share/xalan-j_2_1_0/samples/SimpleTransform#
java SimpleTransform 
java.lang.NoSuchMethodError
        at
org.apache.xpath.DOM2Helper.getLocalNameOfNode(DOM2Helper.java:326)
        at
org.apache.xalan.templates.TemplateList.getHead(TemplateList.java:471)
        at
org.apache.xalan.templates.TemplateList.getTemplate(TemplateList.java:528)
        at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:432)
        at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2251)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2134)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1246)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3070)
        at java.lang.Thread.run(Thread.java:484)
************* The result is in birds.out *************

/usr/local/share/xalan-j_2_1_0/samples/SimpleTransform#
cat bird.out
cat: bird.out: No such file or directory

Am I missing some jar file?

I found some references online to jdk automatically
using the jars in lib/ext, but I do not seem to have
any.

/usr/lib/j2re1.3/lib/ext# locate lib/ext
/usr/lib/j2re1.3/lib/ext
/usr/src/kernel-source-2.2.19/arch/arm/lib/extractconstants.pl

/usr/lib/j2re1.3/lib/ext# ls -l
/usr/lib/j2re1.3/lib/ext/
total 0

I am using java version "1.3.0":
Java(TM) 2 Runtime Environment, Standard Edition
(build Blackdown-1.3.0-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.0-FCS,
mixed mode)


All help will be welcome...
(I run into the exact same problem if I copy the files
into my home and run them as me instead of root)

Sincerely,
Jean-Philippe Martin




__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/