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

后端 未结 11 1615
梦毁少年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:14

    This worked for me:

    I download the JAVA-WS library from official site I put it on extra-lib directory. This directory is on the same level of build.xml. On build.xml I copy from jaxws-build.xml the Ant task named “wsimport-init” and I modify it as in the follow mode:

    ...
        
            
            
                
                    
                        
                    
                
            
        
    ...
    

    Reference: http://www.staniscia.net/989-resolve-the-portable-problem-of-netbean-jax-ws-libraries-for-web-service-clients/

提交回复
热议问题