There are wsdl2java.bat etc. in the bin directory. You can try them in a Windows command shell instead.
Upul On Nov 8, 2007 2:22 PM, Upul Godage <[EMAIL PROTECTED]> wrote: > You may need to check this out. > 'Java is a Windows program, and as such, doesn't recognize > Cygwin-specific paths...' > http://www.ics.uci.edu/~cs122b/projects/project0/faq1.html > > Upul > > > > > On Nov 8, 2007 11:57 AM, Sanka Samaranayke <[EMAIL PROTECTED]> wrote: > > Clssspath seems OK to me. Check whether axis2-codegen.jar in the > > {Axis2_HOME}/lib is corrupted. > > > > Best, > > Sanka > > > > > > > > > > Willard, Jonathan wrote: > > > > > > /c/Axis2/bin/wsdl2java.sh -uri com.ab.ws.NcmProvider.wsdl > > > > > > Using AXIS2_HOME: /c/Axis2 > > > > > > Using JAVA_HOME: C:\Java\jdk1.6.0_02 > > > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > > org/apache/axis2/wsdl/WSDL2Java > > > > > > How do I resolve this? I am new to Axis2. I looked in the archive and > > > did not see an answer. I also get > > > > > > /c/build/WebServices/src/build> /c/Axis2/bin/wsdl2java.sh > > > > > > Using AXIS2_HOME: /c/Axis2 > > > > > > Using JAVA_HOME: C:\Java\jdk1.6.0_02 > > > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > > org/apache/axis2/wsdl/WSDL2Java > > > > > > I think my classpath is right because I added set –x to the shell file. > > > > > > + 'C:\Java\jdk1.6.0_02/bin/java' -classpath > > > 'com.ab.ws.NcmProvider.wsdl:-uri:org.apache.axis2.wsdl.WSDL2Java:/c > > > > > > /Axis2:C:\Java\jdk1.6.0_02/lib/tools.jar::/c/Axis2/lib/XmlSchema-1.3.2.jar:/c/Axis2/lib/activation-1.1.jar:/c/Axis2/lib/ > > > > > > annogen-0.1.0.jar:/c/Axis2/lib/axiom-api-1.2.5.jar:/c/Axis2/lib/axiom-dom-1.2.5.jar:/c/Axis2/lib/axiom-impl-1.2.5.jar:/c > > > > > > /Axis2/lib/axis2-adb-1.3.jar:/c/Axis2/lib/axis2-adb-codegen-1.3.jar:/c/Axis2/lib/axis2-ant-plugin-1.3.jar:/c/Axis2/lib/a > > > > > > xis2-clustering-1.3.jar:/c/Axis2/lib/axis2-codegen-1.3.jar:/c/Axis2/lib/axis2-fastinfoset-1.3.jar:/c/Axis2/lib/axis2-jav > > > > > > a2wsdl-1.3.jar:/c/Axis2/lib/axis2-jaxbri-1.3.jar:/c/Axis2/lib/axis2-jaxws-1.3.jar:/c/Axis2/lib/axis2-jaxws-api-1.3.jar:/ > > > > > > c/Axis2/lib/axis2-jibx-1.3.jar:/c/Axis2/lib/axis2-json-1.3.jar:/c/Axis2/lib/axis2-jws-api-1.3.jar:/c/Axis2/lib/axis2-ker > > > > > > nel-1.3.jar:/c/Axis2/lib/axis2-metadata-1.3.jar:/c/Axis2/lib/axis2-mtompolicy-1.3.jar:/c/Axis2/lib/axis2-saaj-1.3.jar:/c > > > > > > /Axis2/lib/axis2-saaj-api-1.3.jar:/c/Axis2/lib/axis2-spring-1.3.jar:/c/Axis2/lib/axis2-xmlbeans-1.3.jar:/c/Axis2/lib/bac > > > > > > kport-util-concurrent-2.2.jar:/c/Axis2/lib/commons-codec-1.3.jar:/c/Axis2/lib/commons-fileupload-1.1.1.jar:/c/Axis2/lib/ > > > > > > commons-httpclient-3.0.1.jar:/c/Axis2/lib/commons-io-1.2.jar:/c/Axis2/lib/commons-logging-1.1.jar:/c/Axis2/lib/geronimo- > > > > > > annotation_1.0_spec-1.1.jar:/c/Axis2/lib/geronimo-jms_1.1_spec-1.1.jar:/c/Axis2/lib/httpcore-4.0-alpha5.jar:/c/Axis2/lib > > > > > > /httpcore-nio-4.0-alpha5.jar:/c/Axis2/lib/httpcore-niossl-4.0-alpha5.jar:/c/Axis2/lib/jalopy-1.5rc3.jar:/c/Axis2/lib/jax > > > > > > b-api-2.0.jar:/c/Axis2/lib/jaxb-impl-2.0.5.jar:/c/Axis2/lib/jaxb-xjc-2.0.5.jar:/c/Axis2/lib/jaxen-1.1.1.jar:/c/Axis2/lib > > > > > > /jettison-1.0-RC1.jar:/c/Axis2/lib/jibx-bind-1.1.5.jar:/c/Axis2/lib/jibx-run-1.1.5.jar:/c/Axis2/lib/juli-6.0.10.jar:/c/A > > > > > > xis2/lib/log4j-1.2.14.jar:/c/Axis2/lib/mail-1.4.jar:/c/Axis2/lib/mex-impl-1.3.jar:/c/Axis2/lib/neethi-2.0.2.jar:/c/Axis2 > > > > > > /lib/soapmonitor-1.3.jar:/c/Axis2/lib/stax-api-1.0.1.jar:/c/Axis2/lib/tribes-6.0.10.jar:/c/Axis2/lib/woden-1.0-incubatin > > > > > > g-M7b.jar:/c/Axis2/lib/wsdl4j-1.6.2.jar:/c/Axis2/lib/wstx-asl-3.2.1.jar:/c/Axis2/lib/xalan-2.7.0.jar:/c/Axis2/lib/xbean- > > > > > > 2.2.0.jar:/c/Axis2/lib/xercesImpl-2.8.1.jar:/c/Axis2/lib/xml-apis-1.3.03.jar:' > > > -Daxis2.xml=/c/Axis2/conf/axis2.xml -Daxi > > > > > > s2.repo=/c/Axis2/repository org.apache.axis2.wsdl.WSDL2Java -uri > > > com.ab.ws.NcmProvider.wsdl > > > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > > org/apache/axis2/wsdl/WSDL2Java > > > > > > **Jon ** > > > > > > > > > -- > > Sanka Samaranayake > > WSO2 Inc. > > > > http://www.bloglines.com/blog/sanka > > http://www.wso2.org/ > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]