cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1603
Views
0
Helpful
1
Replies

wsimport not able to find the main class: com.sun.tools.internal.ws.WsImport

aksmanch
Cisco Employee
Cisco Employee

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.

1 Reply 1

Geevarghese Cheria
Cisco Employee
Cisco Employee

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