DOM2DOM NoSuchMethodError? 2003-05-28 - By Richard Lin
Dear all,
I just downloaded xalan_2.5 and tryied to run DOM2DOM from sample directory, but failed with the following exception... This also happened whenever I run DOMSerializer ...
D:\xalan-j_2_5_0\bin>java -Xbootclasspath/p:xalan.jar: xml-apis.jar:xalansamples.jar:xercesImpl.jar DOM2DOM
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.xml.utils.TreeWalker.<init>(Lorg /xml/sax/ContentHandler;Lorg/apache/xml/utils/DOMHelper;)V at org.apache.xml.serializer.ToStream.serialize(ToStream.java:255) at DOM2DOM.main(DOM2DOM.java:134)
It works find for SAX2SAX. I read the FAQ from the web site, but could not find the right answer for the above exception.
Anyone can help give me a hint about what is wrong here?
Thanks!
__________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com
|
|