微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

用CXF3.0.4创建webservice的时候jdk1.6版本报的错,解决方案安装jdk1.8

Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class com.yq.cxf.ws.impl.jaxws.SayHello is not found. Have you run APT to generate them?     at com.sun.xml.internal.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:256)     at com.sun.xml.internal.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:567)     at com.sun.xml.internal.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:514)     at com.sun.xml.internal.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:341)     at com.sun.xml.internal.ws.model.RuntimeModeler.buildruntimeModel(RuntimeModeler.java:227)     at com.sun.xml.internal.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:308)     at com.sun.xml.internal.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:174)     at com.sun.xml.internal.ws.api.server.WSEndpoint.create(WSEndpoint.java:420)     at com.sun.xml.internal.ws.api.server.WSEndpoint.create(WSEndpoint.java:439)     at com.sun.xml.internal.ws.transport.http.server.EndpointImpl.createEndpoint(EndpointImpl.java:208)     at com.sun.xml.internal.ws.transport.http.server.EndpointImpl.publish(EndpointImpl.java:138)     at com.sun.xml.internal.ws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:92)     at javax.xml.ws.Endpoint.publish(Endpoint.java:170)     at lee.ServerMain.main(ServerMain.java:11)

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐