WebService runtime modeler error: Wrapper class XXX is not found. Have you run APT to generate them?

在MyEclipse 8.6 + JDK 1.6.31环境下,启动WebService项目报错:Wrapper class not found。原因是缺少cxf对jaxws-api-2.1和jaxb-api-2.1的支持。解决方案包括:检查并添加相关Jar到endorsed目录,添加@SOAPBinding注解,或升级JDK到1.6.0.22以上版本。
摘要由CSDN通过智能技术生成

环境

MyEclipse 8.6 + JDK 1.6.31

问题

启动WebService项目出现如下异常:

 

严重: WSSERVLET11: failed to parse runtime descriptor: runtime modelererror: Wrapper class com.axt.service.jaxws.GetTimePoint is not found. Have yourun APT to generate them?
com.sun.xml.ws.model.RuntimeModelerException:runtime modeler error: Wrapper class com.axt.service.jaxws.GetTimePoint is notfound. Have you run APT to generate them?
         atcom.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:285)
         atcom.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:596)
         atcom.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:543)
         atcom.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:370)
         atcom.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:256)
         atcom.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:322)
         atcom.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188)
         atcom.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
         atcom.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
         atcom.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
         atcom.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
         atorg.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
         atorg.apache.catalina.co
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值