Hi,
I am performing migration from AEM 6.5 on premise to AEM cloud. I have added required dependencies and the build is successful. But after deploying the code in my local, the site pages are appearing white and below error is getting caught in error.log:
GET /content/myProject/pageabc.html org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP: __An error occurred at line: 6 in the jsp file: /apps/myproject/components/page/basepage/basepage.jsp_PageUtils cannot be resolved_3: <%_4: // read the redirect target from the 'page properties' and perform the_5: // redirect if WCM is disabled._6: String location = PageUtils.getResolvedPath(properties.get(PageUtils.STR_REDIRECT_TARGET, ""), "", slingRequest, pageContext);_7: boolean isRedirectPage = false;_8: _9: if (location.length() > 0) { ___An error occurred at line: 6 in the jsp file: /apps/myproject/components/page/basepage/basepage.jsp_PageUtils.STR_REDIRECT_TARGET cannot be resolved to a type_3: <%_4: // read the redirect target from the 'page properties' and perform the_5: // redirect if WCM is disabled._6: String location = PageUtils.getResolvedPath(properties.get(PageUtils.STR_REDIRECT_TARGET, ""), "", slingRequest, pageContext);_7: boolean isRedirectPage = false;_8: _9: if (location.length() > 0) { ___An error occurred at line: 21 in the jsp file: /apps/myproject/components/page/basepage/basepage.jsp_PageUtils cannot be resolved_18
Solved! Go to Solution.
@MeghaGo : Please check if all of your OSGi bundle are in active state.
Next, check your logs and it should tell where is the issue coming from, one of the issue is - PageUtils cannot be resolved.
thanks.
@MeghaGo : Please check if all of your OSGi bundle are in active state.
Next, check your logs and it should tell where is the issue coming from, one of the issue is - PageUtils cannot be resolved.
thanks.
Hi @MeghaGo
The error you have pasted is incomplete. Could you please attach the full error log.
Moreover, look like there is some exception in one of the java files which is turn leads to unable to compile error.
Thanks,
Nupur
@MeghaGo Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies