如何解决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 举报,一经查实,本站将立刻删除。