• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Akshay Manchanda
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to download packages from an application for cisco.
I have the wsdl and xsd file downloaded for the same.

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.


I am not from a programming background.

Not sure if this class was a part of my jdk package. Please suggest how can I resolve this.



 
Claude Moore
Ranch Hand
Posts: 832
7
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds really strange. Try and reinstall the JDK, maybe a more recent ( I mean: jdk 1.7.x) and let we know what happens...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!