axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Safdar Ali" <saf...@ibmt.fhg.de>
Subject WSDL2Java problem
Date Mon, 26 Jan 2004 15:11:44 GMT
Hello,
I am getting the following error while using WSDL2Java tool...

C:\axis-1_1\samples\addr>java org.apache.axis.wsdl.WSDL2Java Address.wsdl
Exception in thread "main" java.lang.NoClassDefFoundError: javax.wsdl.Definition
        at org.apache.axis.wsdl.toJava.JavaGeneratorFactory.class$(JavaGeneratorFactory.java:163)
        at org.apache.axis.wsdl.toJava.JavaGeneratorFactory.addDefinitionGenerators(JavaGeneratorFactory.java:163)
        at org.apache.axis.wsdl.toJava.JavaGeneratorFactory.addGenerators(JavaGeneratorFactory.java:133)
        at org.apache.axis.wsdl.toJava.JavaGeneratorFactory.<init>(JavaGeneratorFactory.java:120)
        at org.apache.axis.wsdl.toJava.Emitter.<init>(Emitter.java:120)
        at org.apache.axis.wsdl.WSDL2Java.createParser(WSDL2Java.java:172)
        at org.apache.axis.wsdl.gen.WSDL2.<init>(WSDL2.java:113)
        at org.apache.axis.wsdl.WSDL2Java.<init>(WSDL2Java.java:161)
        at org.apache.axis.wsdl.WSDL2Java.main(WSDL2Java.java:289)

All of the required .jar files exist in classpath... and even I have extracted the 3 .jar
files into the Java_Home\lib folder... and it still doesn't work....
I would be thankful if get the suggestion...

Rgrds.
Safdar.
Mime
View raw message