• Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.noSuchMethodError with Axis  RSS feed

 
Carlos Schweizer
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , mooses.
I made a proxy with axis that consumes a .NET web service. This works well on a development environment, but when I try to use it in a testing environment, I get the error ( writted in the subject) at org.apache.axis.deployment.wsdd.WSDDDocument ...
I put all the jars in the lib directory of my application
axis.jar
commons-discovery.jar
commons-logging.jar
jaxrpc.jar
log4j-1.2.8.jar
saaj.jar
wsdl4j.jar
In a IIS with Tomcat 3.2.1
(yeah ! looks like some Jurasic, I'm a bit worry about that) (... I'm only a developer).
All works fine (servlets, jsp) so I discard a problem with the configuration of the Tomcat.
I didn't have any problems with another consumer in another application (now in production) with the same architecture.
Someone have any suggestion (migrate the Tomcat is not allowed ! )
Thanks for your Time.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The prime suspect for a NoSuchMethodException is jar file library version conflict where another library is loaded before the one you installed. I would do a search for *.jar in the TOMCAT_HOME directory tree to see if there is another axis.jar somewhere.
Bill
 
Carlos Schweizer
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bill.
Is the first proxy published in that server, and there isn't another web service on the server.
I look for another axis (or jar) but there is only one. I try to find another version of xerces with the same result.
mmm...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!