Java.lang.VerifyError

Source: Internet
Author: User

Verifyerrorextends Linkageerror

Thrown when the "verifier" detects a class file, though well formed, contains some sort of internal inconsistency or Security problem.

What does it mean to find out about this error on the Internet? This error refers to the class is no error, but the version is not unified, which makes me more confused, this is a class I wrote how can there be a version of the situation is not unified?

God, it was a problem with the ADT version and the JDK version, resulting in an unknown error when importing a third-party jar package, and no one can explain what the problem is! Can't explain! Oh, my God!

When debugging the Web page, I found this error: Java.lang.VerifyError error.

Google, look at the comments of netizens feel is the problem of jar package, and then carefully examine their own situation, found a strange place, may be accidentally dragged the jar of the package caused the repetition of the later Classpath added a use of the package, removed the extra jar package problem solved, Hehe OK Problem Description:

type Exception Report

Message

Description The server encountered an internal error (), prevented it from fulfilling this request.

exception

Javax.servlet.ServletException:Servlet execution threw an exception

Root cause

Java.lang.VerifyError: (Class:cn/search/pagemanager, Method: <init> Signature: (ljava/lang/string;) V) Bad type In Putfield/putstatic cn.search.servlet.SearchController.doPost (searchcontroller.java:67) Cn.search.servlet.SearchController.doGet (searchcontroller.java:35) Javax.servlet.http.HttpServlet.service ( httpservlet.java:690) Javax.servlet.http.HttpServlet.service (httpservlet.java:803)

Note The full stack trace of the root cause are available in the Apache tomcat/6.0.10 logs.

Google results:

The cause of the error for "Java.lang.VerifyError" is mainly due to the version problem of the jar package, which may be due to the fact that the JDBC driver with more than 2 conflicting versions of the deployment environment is deployed in a different Lib directory of the application server, or the jar package is replaced.

Above from: http://gocom.primeton.com/modules/newbb/buttonflat_ASC_5956_4_prev.htm

Problem solving:

My same problem, but also the jar package problem, the WebApp directory and the Tomcat in the Lib directory under the jar package is duplicated, and then I will webapp directory of the jar package removed, the problem is temporarily OK

Additional notes:

Mine is tomcat/6.0.10.

http://tinypig.iteye.com/blog/214442

Java.lang.VerifyError

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.