Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pawanja opened this issue Jan 16, 2024 · 0 comments

Comments

@pawanja
Copy link

pawanja commented Jan 16, 2024

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.spa__002d__project__002d__core.components.page.page__002e__html.render(page__002e__html.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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant