【发布时间】:2014-04-17 15:08:19
【问题描述】:
我正面临这个问题:
The method getPort(QName, Class<T>) in the type Service is not applicable for the arguments (QName, Class<AcessoDadosGeolocalizacao>, WebServiceFeature[])
我使用wsimport 生成我的客户端,但现在我的 maven 应用程序正在使用来自
<dependency>
<groupId>javaee</groupId>
<artifactId>javaee-api</artifactId>
<version>5</version>
<scope>provided</scope>
</dependency>
如何使用 JDK 6 中的 javax.xml.ws.Service?
【问题讨论】:
-
你使用了 jaxws:wsimport 目标还是只使用 JDK 中的 wsimport 进程?
-
只是来自 jdk 的 wsimport
标签: maven jax-ws classpath classloader ejb-3.0