Thursday 8 August 2019

wsimport command not found error [SOLVED]

[Issue]

The wsimport tool is used to parse an existing WSDL [Web Services Description Language] file. And generate the required files ( i.e. JAX-WS portable artifacts) for web service client to access the published web services. 

This wsimport tool is normally present in the $JDK/bin folder.

[Root Cause]

So if the system is not able to find this command, this means that either the JAVA_HOME system variable is incorrectly configured or not present at all.

[Resolution]


Create the JAVA_HOME system variable as shown below and add “;%JAVA_HOME%\bin;” at the end of the PATH system variable:

Now the system will be able to find the wsimport command successfully!

No comments:

Post a Comment