解決: 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)java

緣由:cxf須要jaxws-api-2.1.jar及jaxb-api-2.1.jar的支持api

 

解決方案app

      一、將cxf所需的2.1的jar複製一份到jdk目錄下的jre\lib\endorsed文件夾中。若是endorsed文件不存在,可新建。若是不行,可能還須要在public class XXX上方加入@SOAPBinding(style = SOAPBinding.Style.RPC)
       二、jdk升級到1.6.0_22版本以上。
ui


原文出處:http://jyao.iteye.com/blog/1213664spa

相關文章
相關標籤/搜索