• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Creating a Web Service in Eclipse: NoClassDefFoundError

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are they in the same package?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic