adobe / aem-guides-wknd-spa

MIT License
71 stars 97 forks source link

Getting issue while trying to access the website after this command "mvn clean install -PautoInstallSinglePackage -Pclassic" runs successfuly #36

Open pawanja opened 5 months ago

pawanja commented 5 months ago

Getting issue while trying to access the website after this command "mvn clean install -PautoInstallSinglePackage -Pclassic" runs successfuly Identifier com.adobe.aem.spa.project.core.models.Page cannot be correctly instantiated by the Use API Cannot serve request to /content/wknd-spa-react/us/en/home.html in /apps/spa-project-core/components/page/page.html

Exception: org.apache.sling.scripting.sightly.SightlyException: Identifier com.adobe.aem.spa.project.core.models.Page cannot be correctly instantiated by the Use API at org.apache.sling.scripting.sightly.impl.engine.extension.use.UseRuntimeExtension.call(UseRuntimeExtension.java:76) at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl.call(RenderContextImpl.java:72) at org.apache.sling.scripting.sightly.apps.spa002dproject002dcore.components.page.page002ehtml.render(page002ehtml.java:44) at org.apache.sling.scripting.sightly.render.RenderUnit.render(RenderUnit.java:53) at org.apache.sling.scripting.sightly.impl.engine.SightlyCompiledScript.eval(SightlyCompiledScript.java:61) at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:393) at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:191) at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:500) at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:546) at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:88) at com.day.cq.wcm.core.impl.WCMDeveloperModeFilter.doFilter(WCMDeveloperModeFilter.java:119)