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

后端 未结 7 2403
无人及你
无人及你 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条回答
  •  Happy的楠姐
    2021-02-12 21:28

    You can manually add webservices-api.jar from JAX-WS 2.2 API, into /lib/endorsed. See the bottom of this page: https://blogs.oracle.com/ritzmann/entry/metro_2_0_on_java

提交回复
热议问题