thimsen on tech

Monday, March 06, 2006

java.lang.VerifyError

Encountered this error almost a year back and spent many hours trying to find it's root cause. Came up again today. The error ended up being the result of a incorrect versions of the JDOM jar in our WAS 5.1 classpath. We had compiled our code against the JDOM 1.0 version but WAS 5.1 come with a beta release of the JDOM libraries.

Here is a article that describes other reasons for the java.lang.VerifyError.

According to the J2SE1.4 JavaDocs the VerifyError is:

public class VerifyError
extends LinkageError

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

0 Comments:

Post a Comment

<< Home