com.sun.xml.rpc.tools.ant.Wscompile cannot be found

旧城冷巷雨未停 提交于 2019-12-11 08:28:11

问题


I need to use a service at http://mihansmscenter.com/webservice/?wsdl so i should use jax-rpc i add jax-rpc plugin to my netbeans then

righ click on my project > New > Web service client > 

and set:

WSDL URL:http://mihansmscenter.com/webservice/?wsdl
project: my project
package: smsService
client style: JAX-RPC Style

but when click finish after about 40% of task completed there is an error: com.sun.xml.rpc.tools.ant.Wscompile cannot be found


回答1:


This fix from Roy Damman worked for me.

Edit:

Roy Damman said on that thread:

The bug seems to be in /nbproject/project.properties:

Change:

wscompile.classpath=${wscompile.tools.classpath}:${j2ee.platform.wscompile.classpath}

To:

wscompile.classpath=${wscompile.tools.classpath}:${j2ee.platform.wscompile.classpath}:${javac.classpath}

Maybe this link stays up.



来源:https://stackoverflow.com/questions/1460099/com-sun-xml-rpc-tools-ant-wscompile-cannot-be-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!