com.sun.xml.rpc.tools.ant.Wscompile cannot be found
Asked Answered
S

1

2

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

Staffordshire answered 22/9, 2009 at 13:26 Comment(0)
L
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.

Lotus answered 31/10, 2009 at 19:36 Comment(1)
Please don't link to forums. This is an enormously frustrating broken window. Provide self-contained answers.Spiculate

© 2022 - 2024 — McMap. All rights reserved.