After deploying bundle websites are not coming | Community
Skip to main content
Level 4
April 12, 2016
Solved

After deploying bundle websites are not coming

  • April 12, 2016
  • 5 replies
  • 1468 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Yogesh_Upadhyay

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

5 replies

Lokesh_Shivalingaiah
Level 10
April 12, 2016

Have you imported the class for customappPagePropertiesPresenter() ??

Check if the Name of the class is correct (Usually class name begins with caps)

Level 4
April 12, 2016

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.

smacdonald2008
Level 10
April 13, 2016

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.

Yogesh_Upadhyay
Yogesh_UpadhyayAccepted solution
Level 6
April 14, 2016

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

Level 4
April 14, 2016

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.