简体   繁体   English

java.lang.VerifyError:在fedora env的tomcat中

[英]java.lang.VerifyError: in tomcat in fedora env

Gettung bellow error while bringing up tomcat. 弹出tomcat时出现Gettung波纹管错误。 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. 任何帮助将是极大的期望。

In my case, the problem was, that I had two ASM versions on the classpath. 就我而言,问题是,我在类路径上有两个ASM版本。

  • ASM 3.1.0 ASM 3.1.0
  • ASM 5.0.4 ASM 5.0.4

I removed 3.1.0 and it worked fine. 我删除了3.1.0,它工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM