function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JassaJassa 

struggling hard : WSDL2Java

guys guys guys

I have been struggling hard to set the class path in Windows 2000 for the WSDL2Java thing. Finally i tried running a .bat file with the following command in it

"java -classpath C:\Axis\axis-1_1\webapps\axis\WEB-INF\libaxis.jar;C\Axis\axis-1_1\webapps\axis\WEB-INF\libaxis-ant.jar;C:\Axis\axis-1_1\webapps\ax
is\WEB-INF\libcommons-discovery.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\libcom
mons-logging.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\libjaxrpc.jar;C:\Axis\axi
s-1_1\webapps\axis\WEB-INF\liblog4j-1.2.4.jar;C:\Axis\axis-1_1\webapps\axis\WEB-
INF\libsaaj.jar;C:\Axis\axis-1_1\webapps\axis\WEB-INF\libwsdl4j.jar org.apache.a
xis.wsdl.WSDL2Java -v -a -T 1.2  enterprise.wsdl"

but am getting the error like :

 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/wsdl/WSDL2Java

can anyone please help me out with this.

please please please

 

thanks:d

 

Message Edited by Jassa on 11-01-2004 10:10 PM

XeroxXerox
It doesn't look like you have axis.jar in the classpath
JassaJassa
It does have.. the only thing is that all the .jar filenames are prefixed with "lib"...
XeroxXerox

All I can suggest is to double check the paths are correct in the classpath, and perhaps that the class does exist in the given jar file.

swayland@adxswayland@adx

What concerns me most here is that none of the axis1-1 jar files that we use are predicated with "lib"; it just so happens that they are stored in a directory named lib.

\axis-1_1\webapps\axis\WEB-INF\lib\axis-ant.jar

\axis-1_1\webapps\axis\WEB-INF\lib\axis.jar

\axis-1_1\webapps\axis\WEB-INF\lib\commons-discovery.jar

\axis-1_1\webapps\axis\WEB-INF\lib\commons-logging.jar

\axis-1_1\webapps\axis\WEB-INF\lib\jaxrpc.jar

\axis-1_1\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar

\axis-1_1\webapps\axis\WEB-INF\lib\saaj.jar

\axis-1_1\webapps\axis\WEB-INF\lib\wsdl4j.jar

Please check and see if this isn't the case and check your classpath entries...