CXF Java.lang.VerifyError exception when integrating spring

Source: Internet
Author: User

There are two main exception messages, falling off the end of the code and illegal instruction found at offset 1:

Java.lang.VerifyError: (class: Xxx/webservice/jaxws_asm/doservice, Method:getrequest Signature: () lxxx/ Service/webservice/request;) Falling off the end of the code
Java.lang.verifyerror: (class: xxxxxx;) v) Illegal instruction found at offset 1

The discovery of data over and over again results in an ASM jar packet conflict. Dependency analysis directly from Maven:

The console outputs a bunch of dependency information, and CTRL + F looks for ASM

I am here mainly because of the integration of Shiro, Shiro in the ASM package and CXF in the ASM package conflict. Eliminate the ASM packages in the Shiro. If this is due to the integration of other frameworks, the same reason is to exclude the ASM package in the framework

CXF Java.lang.VerifyError exception when integrating spring

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.