While migrating from AEM on-premise to AEM cloud, facing Duplicate local variable errors in JSP. Below is the error:
org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP: __An error occurred at line: 7 in the jsp file
We are assuming that the error might be because of below values in healthcheck config.
Views
Replies
Total Likes
Hi @MeghaGo ,
Try to localize a root cause: disable this OSGi component. If issue is reproduced, then the issue is not related to this component.
Please, share more logs to understand full context.
Best regards,
Kostiantyn Diachenko.
Views
Replies
Total Likes
Can you provide the full stack trace of the error message and what is at line 7 in the jsp?
Views
Replies
Total Likes
Also, there is one more error i.e. com.adobe.acs.commons.util.ResourceDataUtil Error creating the String representation for: /content/abc/en/errors/500.html
org.apache.sling.api.SlingException: An exception occurred processing JSP page /libs/cq/Page/proxy.jsp at line 29 : /apps/myProject/components/page/basepage/head.jsp(38,0) useBean: Duplicate bean name: {0}
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:663) [org.apache.sling.scripting.jsp:2.6.0]
Views
Replies
Total Likes