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

后端 未结 7 2383
无人及你
无人及你 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:32

    add additional option "-target 2.0" while using wsimport to generate source codes for JAX-WS 2.0 and so on.

提交回复
热议问题