简体   繁体   English

找不到com.sun.xml.rpc.tools.ant.Wscompile

[英]com.sun.xml.rpc.tools.ant.Wscompile cannot be found

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 我需要在http://mihansmscenter.com/webservice/?wsdl使用服务,所以我应该使用jax-rpc,然后将jax-rpc插件添加到我的netbeans中。

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 但是当完成约40%的任务后单击完成时,出现错误:com.sun.xml.rpc.tools.ant.Wscompile找不到

This fix from Roy Damman worked for me. Roy Damman的此修复程序对我有用。

Edit: 编辑:

Roy Damman said on that thread: 罗伊·达曼(Roy Damman)在那个线程上说:

The bug seems to be in /nbproject/project.properties: 该错误似乎在/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. 也许链接保持正常。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 调用 com.sun.tools.ws.wscompile.WsimportTool 失败 - Invocation of com.sun.tools.ws.wscompile.WsimportTool failed taskdef 类 com.sun.tools.ws.ant.WsImport 无法在“Java Web 服务教程”之后找到 - taskdef class com.sun.tools.ws.ant.WsImport cannot be found Following “The java web services tutorial” 找不到提供程序com.sun.xml.rpc.client.ServiceFactoryImpl - Provider com.sun.xml.rpc.client.ServiceFactoryImpl not found “调用 com.sun.tools.ws.wscompile.WsimportTool 失败”使用 JDK 1.8 编译时出错 - “Invocation of com.sun.tools.ws.wscompile.WsimportTool failed” Error During Compilation With JDK 1.8 JAX-RPC com.sun.xml.rpc.client.BasicService 未找到 - JAX-RPC com.sun.xml.rpc.client.BasicService Not Found 在 NetBeans 9 和 11 中打包为 DMG 图像,JDK 11 返回“typedef class com.sun.javafx.tools.ant.FXJar cannot be found using the..” - Package as DMG Image in NetBeans 9 & 11, JDK 11 returns "typedef class com.sun.javafx.tools.ant.FXJar cannot be found using the.." 找不到taskdef类com.sun.javacard.ant.tasks.ConverterTask - taskdef class com.sun.javacard.ant.tasks.ConverterTask cannot be found 无法构建JavaFX 2.1.0示例应用程序 - DataApp - 无法创建任务或输入javafx:com.sun.javafx.tools.ant:application - cannot build JavaFX 2.1.0 sample application - DataApp - failed to create task or type javafx:com.sun.javafx.tools.ant:application 在Maven安装后找不到JDK com.sun.tools - JDK com.sun.tools not found after Maven install 找不到com.bea.alsb.tools.configjar.ant.ConfigJarTask类 - class com.bea.alsb.tools.configjar.ant.ConfigJarTask cannot be found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM