• Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating a Web Service in Eclipse: NoClassDefFoundError  RSS feed

 
Robert Redford
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
 
Peer Reynders
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.
 
Paul Clapham
Sheriff
Posts: 22379
42
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...".
 
S Hayes
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are they in the same package?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!