Java.lang.verifyerror:bad type on Orerand stack

Source: Internet
Author: User

Problem:

The JUnit test reported this error: Java.lang.verifyerror:bad type on Orerand stack

Cause: (multiple, self-troubleshooting)

1.class not find, see whether the class file referenced in this code exists,

The version of the 2.jar package causes the problem, possibly because the deployment environment has more than 2 conflicting versions of the JDBC driver deployed in different LIB directories of the application server, or the jar package is replaced.

3. If you are using MAVEN, then check the dependencies, and note that the version is generally a version issue.

4. Using the Jrebel Eclipse plugin is also a version issue,

5. Compiler eclipes issue, closed after reopening, the problem disappears. (This is my solution, this problem has made me a half-day result restart eclipes just fine 0v0)

Reference:

https://jira.spring.io/browse/SPR-12176

Https://stackoverflow.com/questions/22704518/jedispoolconfig-is-not-assignable-to-genericobjectpoolconfig

Https://stackoverflow.com/questions/23082038/type-org-springframework-http-mediatype-current-frame-stack1-is-not-assig

Https://www.cnblogs.com/tv151579/p/6139646.html

Https://www.cnblogs.com/demingblog/p/5309864.html

Https://www.cnblogs.com/softidea/p/5199585.html

Personal study Notes

Java.lang.verifyerror:bad type on Orerand stack

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.