Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Java2WSDL in AXIS 1.4 shows shows java.lang.NoClassDefFoundError: org/apache/axis/wsdlgen/Java2WSDL

 
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Axis 1.4 (NOT using Axis2) for Java2WSDL. It is a web project where the source file is in src folder and the generated .class is under WEB-INF/classes. However, for the sake of creating a WSDL, I copied .class file to the src folder.

Following is my user-variable


I set the class path as:



Next, I run Java2WSDL as:


What am I missing?
 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks like there is a mistake in package provided for Java2WSDL class. It should be org/apache/axis/wsdl/Java2WSDL

http://ws.apache.org/axis/java/apiDocs/org/apache/axis/wsdl/Java2WSDL.html
 
Catch Ernie! Catch the egg! And catch this tiny ad too:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic