The constructor Service(URL, QName, WebServiceFeature[]) is undefined

后端 未结 7 2394
无人及你
无人及你 2021-02-12 20:46

I got The constructor Service(URL, QName, WebServiceFeature[]) is undefined error after I run wsimport for my client web service. Im using JDK 1.6. Please help.

7条回答
  •  暖寄归人
    2021-02-12 21:33

    Change your JAX-WS in the preferences. It is compatibility issue for Java 6 SE and Java EE

    enter image description here

    Sometimes changing from Java 1.6 to Java 1.7 also solves this issue.

提交回复
热议问题