• Register
0 votes
268 views

Problem :

I am getting bellow error when I try to deploy a war file.

error: java.lang.verifyerror: inconsistent stackmap frames at branch target 13

6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution:

After much effort I found the solution for the issue. There were duplicate classes for CGError and CGResponse in two different libraries. So those 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.

Further Readings:

https://github.com/powermock/powermock/issues/375

9 7 4
38,600 points

Related questions

0 votes
1 answer 10 views
10 views
Please have look and reply, sorry I'm not a expert with formatting.
asked Dec 19, 2020 TeamScript 13.5k points
0 votes
1 answer 16 views
16 views
Solve this.
asked Jan 24 TeamScript 13.5k points
1 vote
1 answer 4 views
4 views
Problem: I am getting the mvn command not recognized as an internal or external command.
asked 4 days ago PkGuy 23.5k points
1 vote
1 answer 11 views
11 views
Problem: Something is going wrong here > Mvn' is not recognized as an internal or external command, operable program or batch file
asked Apr 23 Abik Dey 4k points
0 votes
1 answer 7 views
7 views
Problem: I am getting this error > Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
asked Apr 26 ummeshani 9k points
1 vote
1 answer 3 views
3 views
Problem: How can I get rid of this error? Error:java.lang.outofmemoryerror: gc overhead limit exceeded.
asked Apr 28 PkGuy 23.5k points
0 votes
1 answer 3 views
3 views
Problem: I have a use-case where we want to know all the versions that a Maven project gets per dependency tree even if they are omitted. Per maven-dependency-plugin documentation the "verbose" option has been discontinued since Maven 3 and "tree" Mojo of dependency goal ... 2.x, but that yields compatibility issues with Java 8 apps. Is there a way to get verbose dependency tree output in Maven 3?
asked Apr 26 Supti 12.7k points
0 votes
1 answer 2 views
2 views
Problem: I get the error for org.slf4j even thou I don't even have logging in my dependencies. Maybe this error is caused because I copied over the project ? I cleared everything and started from scratch, only some classes were left unharmed , but ... .java:564) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
asked 2 days ago muktaa 34.4k points
1 vote
1 answer 3 views
3 views
Problem: I am getting an error which is given bwlow please help me: Could not publish to the server. java.lang.nullpointerexception.
asked 4 days ago PkGuy 23.5k points
0 votes
1 answer 41 views
41 views
Problem: could not publish to the server. java.lang.indexoutofboundsexception
asked Feb 12 Sabbir Hossain 14.6k points