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

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

    Check the Java version in Eclipse. Go the command prompt and check for the Java version there (command: java -version). Match both the versions and it should work just fine.

提交回复
热议问题