When JDK 1.6 writes WebService, Runtime Modeler Error:wrapper class com.ws.jaxws.DoSomething is not found problem resolution

Source: Internet
Author: User

Transferred from: http://blog.csdn.net/forandever/article/details/5276038

1, the following questions:

Exception in thread "main" Com.sun.xml.internal.ws.model.RuntimeModelerException:runtime Modeler Error:wrapper Class Com.ws.jaxws.DoSomething is not found. Do you run the 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:90)
At Javax.xml.ws.Endpoint.publish (endpoint.java:170)
At Com.ws.Java6WebService.main (java6webservice.java:25)


2, the solution (2 Select one, recommended Method 2):
1> first compiles the main program with the APT command, and then generates some Java files
2> upgrading JDK to version Jdk1.6u17 or later

When JDK 1.6 writes WebService, Runtime Modeler Error:wrapper class com.ws.jaxws.DoSomething is not found problem resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.