首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

解决: is not found. Have you run APT to generate them

2012-11-05 
解决: is not found. Have you run APT to generate them?WSSERVLET11: failed to parse runtime descript

解决: is not found. Have you run APT to generate them?

WSSERVLET11: failed to parse runtime descriptor: runtime modeler error: Wrapper class com.gdpy.service.impl.jaxws.GetBusinessVO is not found. Have you run APT to generate them? com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class com.gdpy.service.impl.jaxws.GetBusinessVO is not found. Have you run APT to generate them? at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:287) at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:596) at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:543) at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:371) at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:258) at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:322) at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188) at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)

原因:cxf需要jaxws-api-2.1.jar及jaxb-api-2.1.jar的支持

?

解决方案

??????1、将cxf所需的2.1的jar复制一份到jdk目录下的jre\lib\endorsed文件夹中。如果endorsed文件不存在,可新建。如果不行,可能还需要在public class XXX上方加入@SOAPBinding(style = SOAPBinding.Style.RPC)。
???????2、jdk升级到1.6.0_22版本以上。

好人啊 谢谢

热点排行