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

后端 未结 11 1478
梦毁少年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 15:56

    You can fix the problem in Netbeans x.y as follows:

    1. Go to Tools->Options->Java->Ant.
    2. Click on "Add JAR/ZIP..." under the Classpath section
    3. Navigate to "C:\Program Files\NetBeans x.y\enterprise\modules\ext\metro\"
    4. Select all files.
    5. Click OK, and try the import/regenerate again.

    where x.y = 7.1, 7.2, 8.0 etc

提交回复
热议问题