tomcat 8.5.43 org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException

问题描述

我一直在使用 ecj 4.6.3 jar 附带的 tomcat 8.5.43。我仍然遇到以下问题。

INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | An error occurred at line: [36] in the jsp file: [/WEB-INF/tags/desktop/common/footer/footer.tag]
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel cannot be resolved to a type
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 33: </div>
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 34: </c:if>
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 35: <cms:pageSlot position="Footer" var="feature" element="div" class="footer">
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 36: <cms:component component="${feature}"/>
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 37: </cms:pageSlot>
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | Stacktrace:] with root cause
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | org.apache.jasper.JasperException: Unable to compile class for JSP: 
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | An error occurred at line: [1] in the generated java file: [/opt/apache-tomcat-8.5.43/work/Catalina/localhost/ROOT/org/apache/jsp/tag/web/desktop/common/footer/footer_tag.java]
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | The type de.hybris.platform.cms2.model.contents.contentslot.ContentSlotModel cannot be resolved. It is indirectly referenced from required .class files
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | An error occurred at line: [1] in the generated java file: [/opt/apache-tomcat-8.5.43/work/Catalina/localhost/ROOT/org/apache/jsp/tag/web/desktop/common/footer/footer_tag.java]
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | The type de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel cannot be resolved. It is indirectly referenced from required .class files
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | An error occurred at line: [13] in the jsp file: [/WEB-INF/tags/desktop/common/footer/footer.tag]
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | The method setContentSlot(ContentSlotModel) from the type CMSContentSlottag refers to the missing type ContentSlotModel
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 10: <div id="footer_logo"></div>
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 11: <div id="footer_panel_bar">
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 12: <div id="footer_left">
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 13: <cms:slot contentSlot="${slots.FooterTopNavigation}" var="feature">
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 14: <c:if test='${(feature.uid ne "downloadFooterLinkComponent") || accessDownloadCatalog}'>
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 15: <cms:component component="${feature}" />
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 16: <script>
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | An error occurred at line: [13] in the jsp file: [/WEB-INF/tags/desktop/common/footer/footer.tag]
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | de.hybris.platform.cms2.model.contents.contentslot.ContentSlotModel cannot be resolved to a type
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 10: <div id="footer_logo"></div>
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 11: <div id="footer_panel_bar">
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 12: <div id="footer_left">
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.172 | 13: <cms:slot contentSlot="${slots.FooterTopNavigation}" var="feature">
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | 14: <c:if test='${(feature.uid ne "downloadFooterLinkComponent") || accessDownloadCatalog}'>
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | 15: <cms:component component="${feature}" />
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | 16: <script>
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | 
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | 
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | An error occurred at line: [13] in the jsp file: [/WEB-INF/tags/desktop/common/footer/footer.tag]
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | de.hybris.platform.cms2.model.contents.contentslot.ContentSlotModel cannot be resolved to a type
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | 10: <div id="footer_logo"></div>
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | 11: <div id="footer_panel_bar">
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | 12: <div id="footer_left">
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | 13: <cms:slot contentSlot="${slots.FooterTopNavigation}" var="feature">
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | 14: <c:if test='${(feature.uid ne "downloadFooterLinkComponent") || accessDownloadCatalog}'>
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | 15: <cms:component component="${feature}" />
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | 16: <script>
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | 
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | 
INFO   | jvm 1    | main    | 2021/07/07 01:51:20.174 | An error occurred at line: [15] in the jsp file: [/WEB-INF/tags/desktop/common/footer/footer.tag]
  • 我尝试将 ecj jar 更改为 4.5.1。
  • 删除了 tomcat 的“工作”目录。 但没有运气,请指教!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...