|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: why importNode error like this
I guess the classpath is not the issue. If classpath is wrong how can i compile it on solaris? On Sat, 20 Jan 2001 Mike.Champion@S... wrote: > importNode was introduced in DOM Level 2; perhaps in the NT environment > you're picking up a newer implementation of the DOM, and in your Solaris > environment you're picking up an old one. The DOM is not (yet) a core > component of Java, so you'll have to check your CLASSPATH ... > > > -----Original Message----- > > From: Huaxin Zhang [mailto:hxzhang@c...] > > Sent: Saturday, January 20, 2001 4:39 PM > > To: xml-dev@l... > > Cc: Huaxin Zhang > > Subject: why importNode error like this > > > > > > When I was compiling and running my program > > on NT, JVM 1.3.0-C mixed mode > > IT was fine. > > > > However, when it comes to solaris 2.6 JVM 1.2.2 > > it compiles well, but when running, it > > throws this exception: > > > > Exception in thread "main" java.lang.NoSuchMethodError: > > org.w3c.dom.Document: method > > importNode(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node; not found > > at test.main(test.java:45) > > > > > > >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








