• Register
0 votes
246 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 6 views
6 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 13 views
13 views
Solve this.
asked Jan 24 TeamScript 13.5k points
0 votes
1 answer 16 views
16 views
Problem: could not publish to the server. java.lang.indexoutofboundsexception
asked Feb 12 Shovo210 3.1k points
0 votes
1 answer 4 views
4 views
Problem: It compiles but JVM fails in runtime with the following error: Exception in thread "main" java.lang.VerifyError: Bad return type.ries to start, then crashes and it get this: This crashed whilst initializing game Error: java.lang.VerifyError: Bad return type I try to view crash report. >Can someone please help fix this
asked 6 days ago Ali 5.1k points
0 votes
2 answers 277 views
277 views
Problem : I am stuck with following Maven issue. Error: could not find or load main class org.codehaus.plexus.classworlds.launcher.launcher My Maven was working fine till last week after that I do not know what went wrong with it now it gives me the error I have tried replacing ... Java(TM) SE Runtime Environment (build 1.7.0_75-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)
asked Nov 24, 2019 alecxe 7.5k points
1 vote
1 answer 324 views
324 views
Problem: Hello Guys, I am trying to import a Maven project in my Eclipse IDE but the project is not importing properly. It shows an error, source folder is not a java project when I m trying to give it a new call-in it. The problem is literally going over my head ... the problem, as well as have a solution, please speak up. I'm surfing over the internet for an hour but couldn’t fix this yet.
asked Apr 2, 2020 Gavin 15.3k points
1 vote
2 answers 274 views
274 views
Problem: Dear all, Right now I’ve imported a maven project into my eclipse IDE and I changed my java path library to work on java 1.7 Suddenly, eclipse started showing an error but I’ve got no errors in my files there. The error is “java compiler level ... Project Problem (Java Version Mismatch) Please tell me how to resolve this error (I want to have my JRE version as 1.7 only).
asked Mar 22, 2020 Gavin 15.3k points
0 votes
1 answer 53 views
53 views
Problem : I created a project by Maven integration in Eclipse , but in the work space in all JSP files have bellow message: The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
asked Oct 31, 2019 peterlaw 6.9k points
0 votes
1 answer 15 views
15 views
Problem : slf4j: class path contains multiple slf4j bindings.
asked Feb 14 Shovo210 3.1k points
0 votes
1 answer 11 views
11 views
Solve this error.
asked Feb 6 TeamScript 13.5k points