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

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

    I had the same problem after testing Netbeans 11 and then going back to Netbeans 8.2. The solution was the file

    ProjectName\nbproject\private\private.properties
    

    that one had an entry

    user.properties.file=XXXX\\AppData\\Roaming\\NetBeans\\11.0\\build.properties
    

    changing it back to the correct installation

    user.properties.file=XXXX\\AppData\\Roaming\\NetBeans\\8.2\\build.properties
    

    solved the problem. For some projects Netbeans popped up a dialogbox "The project ProjectName uses build.properties from another Netbeans installation", then click "Use this installation".

提交回复
热议问题