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 "Theoharis, Harry" <HT...@lehman.com> on 2000/07/06 16:23:43 UTC

RE: java.lang.NoSuchMethodError: org.w3c.dom.Document: method imp ortNode

You have different CLASSPATHs.  One of the jars before Xerces (in your
classpath) has the org.w3c.dom.Document without the importNode (I guess
older specs).

Regards,
Harry Theoharis
> -----Original Message-----
> From:	Matti.Aaltonen@vtt.fi [SMTP:Matti.Aaltonen@vtt.fi]
> Sent:	Thursday, July 06, 2000 3:27 PM
> To:	xerces-j-dev@xml.apache.org
> Subject:	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
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-dev-help@xml.apache.org