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