Invalid byte tag in constant pool: 18
时间: 2024-04-28 22:24:21 浏览: 216
Invalid byte tag in constant pool: 18是一个错误消息,表示在使用@Aspectj时遇到了问题。具体来说,这个错误消息是由org.aspectj.apache.bcel.classfile.ClassFormatException引起的。,这个错误通常发生在使用Tomcat 7和Servlet 3.0的情况下。可能的原因是项目中使用的某个jar包与Tomcat版本不兼容。一个解决方法是升级本地的jar包版本,以与Tomcat兼容。中的解决方案,更换相关的jar包版本,然后重新部署项目。这样应该能够解决这个错误。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [ClassFormatException:Invalid byte tag in constant pool: 18](https://blog.csdn.net/lswandt/article/details/107115949)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Tomcat报错Invalid byte tag in constant pool: 60](https://blog.csdn.net/chongxungu8275/article/details/100942024)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [网上书城 war](https://download.csdn.net/download/baidu_38490432/11285622)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文