java.lang.VerifyError: Inconsistent stackmap frames at branch target 421

After a much effort I found the issue. There was duplicate classes for CGError and CGResponse in two different libraries. So I guess the ones that were used in the compile time may differ to ones loaded in running time. Anyhow resolving the duplicate classes did the trick, and resolved this issue.

PS: don’t wast time on -XX:-UseSplitVerifier configuration to fix this issue if you are on Java 1.8, even if you are on Java 1.7 try to avoid using that configuration as much as possible. Please go through following URL in order get a better understanding about the issue:

What is a stack map frame

Leave a Comment