taskdef class com.sun.tools.ws.ant.WsImport cannot be found Following “The java web services tutorial”

后端 未结 11 1474
梦毁少年i
梦毁少年i 2021-02-02 15:50

I saw the same issue in many different locations and even after a good portion of googling, I could not resolve it. What I am trying to do (the bigger picture) is to go through

11条回答
  •  别那么骄傲
    2021-02-02 16:04

    The ant task is not included in the JDK, even though there is a wsimport.exe which does exactly the same.

    If you really want the ant task, you can download jaxws-ri and use the 23(!) jars in the lib folder.

    Or you can use this workaround by calling wsimport.exe:

    
        
            
        
    
    

提交回复
热议问题