• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Creating a Web Service in Eclipse: NoClassDefFoundError

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm using Eclipse 3.2 (with WTP 1.5) to create a "Bottom up Java bean Web Service". On creation, I'm getting this error:

IWAB0398E Error in generating WSDL from Java: java.lang.NoClassDefFoundError
java.lang.NoClassDefFoundError
at org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask.execute(Java2WsdlAntTask.java:172)


Java2WsdlAntTask's line 172 is:

That's strange - as Emitter and Java2WsdlAntTask are both in the same JAR, namely axis.jar.
Besides, axis.jar (of version 1.4) does exist in $JDK_HOME/lib, $JRE_HOME/lib/ext and $ECLIPSE_AXIS_PLUGIN/lib. The $CLASSPATH is:

.:/usr/lib/j2sdk1.5-sun/lib:/usr/lib/j2sdk1.5-sun/jre/lib/ext



As I've already spent several hours on this and have no further ideas, your input is greatly appreceated!
Thanks
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch "Robert Redford",

I apologize in advance if "Robert Redford" is your real name � however in the likely event that it is not, I'd like you to examine the JavaRanch official policy on registered names. While it is preferred that you use your real name, a pseudonym is permitted as long as 1.) it is not obviously fictitious and 2.) it is never disclosed that it is not your real name. Please adjust your display name to comply with the policy on registered names. Your cooperation is appreciated. Thank You.
 
Robert Redford
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This hasn't been the first time my name remembered someone on the popular film star, having the same name.
 
Marshal
Posts: 25798
69
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Although I expect the film star, being a native speaker of English, would have said "my name reminded someone of..." instead of "my name remembered someone on...".
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are they in the same package?
 
Clowns were never meant to be THAT big! We must destroy it with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic