Dear Team,
After deploying my bundle in my development environment <dev:4502/system/console/bundles> , my no websites are coming fine.
NOTE: But after deploying same bundle in my local <localhost:4502/system/console/bundles>, its working fine.
I am getting below error.
Error during include of component '/apps/customapp/renderers/sectionHomeColumnRenderer'
Error Message:
org.apache.sling.api.scripting.ScriptEvaluationException: org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 9 in the jsp file: /apps/customapp/renderers/abstractRenderer/abstractRenderer.jsp
The type com.abccompany.dfac.abccompanyfoundation.components.core.AbstractPagePresenter cannot be resolved. It is indirectly referenced from required .class files
6: %><%@page import="com.abccompany.dfac.customapp.components.configuration.eloquaConfiguration.EloquaConfigurationPresenter"
7: %><c:set var="disclaimerModal" value="<%= new EntranceDisclaimerConfigurationPresenter().getModelFromRequest(slingRequest) %>"/><%
8: %><c:set var="disclaimerEnabled" value="${not wcmMode.edit and not empty disclaimerModal}"/><%
9: %><c:set var="model" value="<%= new customappPagePropertiesPresenter().getModelFromRequest(slingRequest) %>"/><%
10: %><c:set var="locale" value="<%= currentPage.getLanguage(false) %>"/><%
11: %><c:set var="googleTagModel" value="<%=new GoogleTagManagerConfigurationPresenter().getModelFromRequest(slingRequest)%>" /><%
12: %><c:set var="eolquaModel" value="<%=new EloquaConfigurationPresenter().getModelFromRequest(slingRequest)%>" /><%
An error occurred at line: 9 in the jsp file: /apps/customapp/renderers/abstractRenderer/abstractRenderer.jsp
The method getModelFromRequest(SlingHttpServletRequest) is undefined for the type customappPagePropertiesPresenter
6: %><%@page import="com.abccompany.dfac.customapp.components.configuration.eloquaConfiguration.EloquaConfigurationPresenter"
7: %><c:set var="disclaimerModal" value="<%= new EntranceDisclaimerConfigurationPresenter().getModelFromRequest(slingRequest) %>"/><%
8: %><c:set var="disclaimerEnabled" value="${not wcmMode.edit and not empty disclaimerModal}"/><%
9: %><c:set var="model" value="<%= new customappPagePropertiesPresenter().getModelFromRequest(slingRequest) %>"/><%
10: %><c:set var="locale" value="<%= currentPage.getLanguage(false) %>"/><%
11: %><c:set var="googleTagModel" value="<%=new GoogleTagManagerConfigurationPresenter().getModelFromRequest(slingRequest)%>" /><%
12: %><c:set var="eolquaModel" value="<%=new EloquaConfigurationPresenter().getModelFromRequest(slingRequest)%>" /><%
Processing Info:
Page = /content/internet/product/customapp/de_DE/home
Resource Path = /content/internet/product/customapp/de_DE/home/jcr:content
Cell = sectionHomeColumnRenderer
Cell Search Path = sectionHomeColumnRenderer|sectionHomeRenderer|contentRenderer|abstractRenderer|page
Component Path = /apps/customapp/renderers/sectionHomeColumnRendere
Thanks & Regards
Solved! Go to Solution.
Views
Replies
Total Likes
Hello,
I have seen this issue in AEM6.1 with SP1 where bundle with SNAPSHOT version do not get updated after deploying code. This happens randomly. You might want to create DayCare ticket for this issue. As a workaround just restart "Jcr Installer" bundle or change your bundle version number and redeploy.
Yogesh
Views
Replies
Total Likes
Have you imported the class for customappPagePropertiesPresenter() ??
Check if the Name of the class is correct (Usually class name begins with caps)
Views
Replies
Total Likes
bsloki wrote...
Have you imported the class for customappPagePropertiesPresenter() ??
Check if the Name of the class is correct (Usually class name begins with caps)
NOTE: THIS Bundle is working fine in my Local Development Environment. But it is not working in my Project Development environment.
If the class is not imported, then it should not work in my local also.
Views
Replies
Total Likes
Looks like on your orher environment, you have a package conflict. Do you have a lot of classes in same package. Try a test. Rebuild your bundle with a simple package name and ensure its a unique name. Let us know what happens.
Views
Replies
Total Likes
Hello,
I have seen this issue in AEM6.1 with SP1 where bundle with SNAPSHOT version do not get updated after deploying code. This happens randomly. You might want to create DayCare ticket for this issue. As a workaround just restart "Jcr Installer" bundle or change your bundle version number and redeploy.
Yogesh
Views
Replies
Total Likes
Yogesh Upadhyay wrote...
Hello,
I have seen this issue in AEM6.1 with SP1 where bundle with SNAPSHOT version do not get updated after deploying code. This happens randomly. You might want to create DayCare ticket for this issue. As a workaround just restart "Jcr Installer" bundle or change your bundle version number and redeploy.
Yogesh
Thanks. I restarted Jcr Installer and it is working fine.
Views
Replies
Total Likes
Views
Likes
Replies