Ashley,
I do agree with you.. but I have put all the .jars in
Java_Home\jre\lib\endorsed folder...
I have also put all the required .jars into Java_Home\jre\lib\ext
folder...but it still doesn't work :((

Safdar.
----- Original Message ----- 
From: "Ashley Waite" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 28, 2004 7:04 AM
Subject: Re: WSDL2Java problem


> Safdar,
>
> I believe you will find that the Java specs now state that any jars that
> change/add-to the java.* and javax.* packages must be in the endorsed
> directory of your JRE/JDK.
> If that is not the issue, I have had many similar issues with other
> applications and it was easily solved by moving all the jars into the
> JRE/JDK extensions directory.
> Failing all else, use the -classpath command line switch to explicitly
> add the jar file involved into the path.
>
>
> Safdar Ali wrote:
>
> > 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(Jav
aGeneratorFactory.java:163)
> >         at
> >
org.apache.axis.wsdl.toJava.JavaGeneratorFactory.addGenerators(JavaGenerator
Factory.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.
>
>
>

Reply via email to