• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

java.lang.noSuchMethodError with Axis

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic