wsimport not able to find the main class: com.sun.tools.internal.ws.WsImport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2014 06:39 PM
Hi All,
I am trying to download packages from CUCM.
I have the wsdl and xsd file downloaded for the same in the AXLtoolkit downloaded from the CUCM.
I downloaded eclipse 4.3.2 and jdk1.6.0_43.
Created a new project and added my schema folder in the same path as src.
I try to now generate classes using the below command:
wsimport -keep -b schema/current/AXLSOAP.xsd -Xnocompile -s src -d bin -verbose schema/current/AXLAPI.wsdl
and the in process the program fails because the main class is not found.
Could not find the main class: com.sun.tools.internal.ws.WsImport. Program will
exit.
Not sure if this class was a part of my jdk package. Please suggest how can I resolve this.
- Labels:
-
AXL

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2014 03:31 AM
Hi Akshay,
Request you to refer the following URLS
1)wsimport OutOfMemoryError Exception
2)Help running Java sample AXL code? stuck at CertificateException
For related information.
Thanks and Regards,
Geevarghese
