T
Tom Dyess
I created an RSS news feed reader that loads xml from a URL to a pre-formed
class structure. It loads just fine when Debuged in Eclipse 3.0.1 by
debugging the main() procedure, but when I try to run it in tomcat, I get
this:
java.lang.NoSuchMethodError:
org.w3c.dom.Node.getTextContent()Ljava/lang/String;
The call that is causing it is this:
pubDate = node.getTextContent();
From what I understand, this method is new to Java 1.5 (not in 1.4). Why
would it work in Eclipse but not Tomcat installed on the same machine? I
downloaded Xerces 2.6.2 and put the 2 .jars in $TOMCAT/common/endorsed and
it still doesn't work.
Thanks,
Tom
class structure. It loads just fine when Debuged in Eclipse 3.0.1 by
debugging the main() procedure, but when I try to run it in tomcat, I get
this:
java.lang.NoSuchMethodError:
org.w3c.dom.Node.getTextContent()Ljava/lang/String;
The call that is causing it is this:
pubDate = node.getTextContent();
From what I understand, this method is new to Java 1.5 (not in 1.4). Why
would it work in Eclipse but not Tomcat installed on the same machine? I
downloaded Xerces 2.6.2 and put the 2 .jars in $TOMCAT/common/endorsed and
it still doesn't work.
Thanks,
Tom