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

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

    Additionally to switch from java 6 to java 7 you may need to change the 'Order and Export' Eclipse tab in 'Java build path' and put 'JRE system library' on top of the list. If that works it could mean you have an old jar somewhere in your project.

提交回复
热议问题