0

Gettung bellow error while bringing up tomcat. But the war is running in other systems without any error.

SEVERE: Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
java.lang.VerifyError: (class: com/company/project/jaxws_asm/RegisterPartner, method: setAuthInfo signature: (Lcom/company/project/AuthInfo;)V) Illegal instruction found at offset 1

Any help will be greatly expected.

786543214
  • 855
  • 4
  • 14
  • 29
  • Possible duplicate of [Causes of getting a java.lang.VerifyError](https://stackoverflow.com/questions/100107/causes-of-getting-a-java-lang-verifyerror) – Alien Jun 08 '18 at 11:33

1 Answers1

0

In my case, the problem was, that I had two ASM versions on the classpath.

  • ASM 3.1.0
  • ASM 5.0.4

I removed 3.1.0 and it worked fine.

ygor
  • 1,726
  • 1
  • 11
  • 23
Ximo
  • 11
  • 1
  • 1