Runtime modeler error: Wrapper class com. ws. jaxws.

Source: Internet
Author: User

When I was writing a webservice today, I encountered such a problem,Runtime modeler error: Wrapper class com. ws. jaxws. Add is not found, hava you run apt to generate them?I used jdk 1.6. When an error occurs, I first read the error. I did not understand it for the first time,

The following solutions are available to query online materials:

1> first use the apt command to compile the main program and then generate some java files
2> Upgrade JDK to JDK or later

I have not tried these two methods, but I have tried the following methods:

The styleworkflow of soapBinding is soapbinding.style.doc ument. Add @ webservice to the interface and add @ SOAPBindlingstyle = SOAPBinding. style. RPC). This error is solved. It is estimated that there may be a small bug in the support for reading this type in early versions of jdk1.6, so an error will be reported. I used this method, if this method does not work, you can try the above two methods.


This article from "want to span, pay more" blog, please be sure to keep this source http://andywuchuanlong.blog.51cto.com/4898493/1304573

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.