Symptom
While migrating from javax to jakarta as part of the framework update from JDK 17 to JDK 21, accessing the Storefront endpoint returns a 'Server Error'. In addition to this error, you may observe OpenSearch logs indicating that JSP files are not being loaded correctly.
-
{"instant":{"epochSecond":1771501674,"nanoOfSecond":8541627},"thread":"hybrisHTTP25","level":"DEBUG","loggerName":"org.springframework.web.servlet.DispatcherServlet","message":"Error rendering view [org.springframework.web.servlet.view.JstlView: name [xxxxxxxx]; URL [/WEB-INF/xxxxxxxx.jsp]]" -
{"origin":"catalina","timeMillis":1771501674007,"thread":"hybrisHTTP25","level":"SEVERE","loggerName":"org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/].[jsp]","threadId":159,"threadPriority":5,"message":"Servlet.service() for servlet [jsp] threw exception" -
[HybrisWebappClassLoader@a796580] warning can't find type javax.servlet.jsp.tagext.xxxxxx whilst determining signatures of call or execution join point for java.lang.String atg.taglib.json.JsonBaseTag.getName(), this may cause a pointcut to fail to match at this join point
Read more...
Environment
SAP Commerce Cloud
Product
SAP Commerce Cloud all versions
Keywords
javax, jakarta, jsp, servlet, jdk 21, upgrade, migration, commerce, ccv2, hybris , KBA , CEC-SCC-PLA-PL , Platform , Known Error
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview