You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Ma...@vtt.fi on 2000/07/06 16:26:58 UTC
java.lang.NoSuchMethodError: org.w3c.dom.Document: method
importNode
Hello!
I'm using Xerces 1.1.2 with JRUN 2.3.3 servlet engine and I get the error
message below. When I run the servlet in my own machine with VisualCafe 4.0
it works fine. I've checked that the xerces.jar files on both machines are
the same. What am I doing wrong?
Thu Jul 06 15:22:45 GMT+03:00 2000: Running servlet
{ (Running servlet) java.lang.NoSuchMethodError: org.w3c.dom.Document:
method importNode(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node; not found
at fi.vtt.tte.imu2.pcimu.IMU2v001.createPage1(IMU2v001.java:254)
Thanks.
Matti Aaltonen
Re: java.lang.NoSuchMethodError: org.w3c.dom.Document: methodimportNode
Posted by Andy Clark <an...@apache.org>.
Matti.Aaltonen@vtt.fi wrote:
> { (Running servlet) java.lang.NoSuchMethodError: org.w3c.dom.Document:
> method importNode(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node; not found
> at fi.vtt.tte.imu2.pcimu.IMU2v001.createPage1(IMU2v001.java:254)
Sounds like a CLASSPATH issue. Make sure that you're not mixing
Jars with different versions of the DOM specification.
--
Andy Clark * IBM, JTC - Silicon Valley * andyc@apache.org