java - java.lang.VerifyError:在 Fedora 环境中的 tomcat 中
问题描述
启动 tomcat 时出现以下错误。但这场战争正在其他系统中运行,没有任何错误。
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
非常期待任何帮助。
解决方案
就我而言,问题是我在类路径上有两个 ASM 版本。
- ASM 3.1.0
- ASM 5.0.4
我删除了 3.1.0,它运行良好。
推荐阅读
- python - 如何在索引中引用变量值
- go - 关于字节顺序和标准库的问题?
- android - 更新最新的 firebase sdk 版本 71.1740 后 Firebase 实例 ID 返回 null
- java - org.mockito.exceptions.misusing.InvalidUseOfMatchersException:参数匹配器的使用无效!弹簧靴
- laravel - 如何修复空数据给出错误获取属性
- angular - 如何使用 ionic 或 React native 等 JS 框架创建贴纸应用并将其发送到 WhatsApp 或任何信使?
- devexpress - 使用 ThemeBuilder 自定义 DevExpress MVC 仪表板样式表
- python-3.x - 梯度提升分类器
- vuejs2 - 如何制作一个可以一次性更改内部逻辑和父级数据的组件事件
- python - /accounts/register/ 处的 ConnectionRefusedError