ws-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Brogden" <>
Subject RE: java.lang.NoSuchMethodError
Date Mon, 24 Dec 2001 13:46:45 GMT

> -----Original Message-----
> From: davout [] 
> Sent: Monday, December 24, 2001 8:22 AM
> To: Apache Soap Dev List
> Subject: java.lang.NoSuchMethodError
> I'm getting the error shown below whenever I try to access a 
> registered SOAP
> service. Using the SOAP admin GUI I've checked to see that 
> the method exists
> (it does). What else could be going wrong?
> The targeted method happens to be the second in a list of methods
> implemented by this service. It has two integer parameters. I've
> successfully tested the first method in the list, so I know that basic
> connections to the service are working.
> 			---oOo---
> java.lang.NoSuchMethodError: org.w3c.dom.Node: method
> getNamespaceURI()Ljava/lang/String; not found 	at

The key point is that it is looking for a namespace related method.
Your JVM is finding an XML parser that does NOT support namespaces,
ie an old parser. Note that no matter what you do with classpath,
it is possible for an old parser to be picked up from the standard
extensions directory. Read the findingclasses.html file in the
tooldocs section of your JDK docs to find out why.

When this happened to me it turned out to be an old JAXP jaxp.jar
and parser.jar in the Java-home/jre/lib/ext directory.


View raw message