Expand my Community achievements bar.

Facing Duplicate local variable error in JSP

Avatar

Level 2

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.

MeghaGo_0-1736350881719.png

 

2 Replies

Avatar

Level 7

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.

Avatar

Level 2

Can you provide the full stack trace of the error message and what is at line 7 in the jsp?