Closed VitorTheGreat closed 2 years ago
Caro @VitorTheGreat Agradecemos o seu feedback, estamos verificando esta consulta em AdobeDocs/experience-manager-learn.en#85 Manteremos você informado.
Caro @VitorTheGreat.
Você poderia nos dar mais informações? Por exemplo:
Qual foi o seu comando Maven? Qual é a versão do AEM (Cloud, 6.X.X) que você está tentando implantar?
A propósito, eu usei o arquétipo 37 mais recente no AEM-SDK (aem-sdk-2022.7.8085.20220725T140323Z-220600) e pude ver o cabeçalho WKND como mostrado em in chaper-2- Integrate the SPA
mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=37 -D appTitle="WKND SPA React" -D appId="wknd-spa-react" -D artifactId="aem-guides-wknd-spa.react" -D groupId="com.adobe.aem.guides.wkndspa.react" -D frontendModule="react" -D aemVersion="cloud"
Caro @VitorTheGreat Como não recebemos resposta, vamos fechar este ticket. Se o problema continuar, abra um novo ticket, por favor.
Saludos
Issue in ./help/headless-tutorial/spa-editor/react/integrate-spa.md
Ao seguir passo a passo da documentação, desde instalação/ clone do projeto até alteração, não foi possível ver nenhum componente react funcional, nem no server local (yarn start) ou dentro da instância AEM. O que tenho apenas é uma pagina em Branco. Segue alguns erros reportados no console e instância:
Instância: Failed executing script /libs/cq/Page/Page.jsp: Cannot get DefaultSlingScript: 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.api.SlingException: Cannot get DefaultSlingScript: Identifier com.adobe.aem.spa.project.core.models.Page cannot be correctly instantiated by the Use API at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:517) at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:583) 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) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:138) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.adobe.granite.metrics.knownerrors.impl.ErrorLoggingComponentFilter.doFilter(ErrorLoggingComponentFilter.java:71) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.wcm.core.impl.monitoring.PageComponentRequestFilter.doFilter(PageComponentRequestFilter.java:105) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:278) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.wcm.core.impl.page.PageLockFilter.doFilter(PageLockFilter.java:91) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:94) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.adobe.granite.csrf.impl.CSRFFilter.doFilter(CSRFFilter.java:225) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:283) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProcessorImpl.java:323) at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatcher.java:211) at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatcher.java:104) at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponentFilter.java:516) at libs.cq.Page.Page002ejsp._jspService(Page002ejsp.java:116) at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at org.apache.sling.scripting.jsp.PrecompiledJSPRunner.callPrecompiledJSP(PrecompiledJSPRunner.java:72) at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:583) at org.apache.sling.scripting.core.impl.bundled.PrecompiledScript.eval(PrecompiledScript.java:56) at org.apache.sling.scripting.core.impl.bundled.ScriptContextProvider$ExecutableContext.eval(ScriptContextProvider.java:170) at org.apache.sling.scripting.core.impl.bundled.AbstractBundledRenderUnit.eval(AbstractBundledRenderUnit.java:135) at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptServlet.service(BundledScriptServlet.java:78) at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:583) 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.WCMDebugFilter.doFilter(WCMDebugFilter.java:138) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.adobe.granite.metrics.knownerrors.impl.ErrorLoggingComponentFilter.doFilter(ErrorLoggingComponentFilter.java:71) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.wcm.core.impl.monitoring.PageComponentRequestFilter.doFilter(PageComponentRequestFilter.java:105) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:375) at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:190) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.wcm.core.impl.page.PageLockFilter.doFilter(PageLockFilter.java:91) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:94) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:283) at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:82) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84) at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:109) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler.doFilter(AdhocAssetShareAuthHandler.java:511) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84) at com.day.cq.dam.core.impl.servlet.ActivityRecordHandler.doFilter(ActivityRecordHandler.java:141) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.adobe.granite.rest.impl.servlet.ApiResourceFilter.doFilter(ApiResourceFilter.java:70) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.adobe.granite.requests.logging.impl.RequestLoggerImpl.doFilter(RequestLoggerImpl.java:135) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84) at com.adobe.granite.rest.assets.impl.AssetContentDispositionFilter.doFilter(AssetContentDispositionFilter.java:96) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl.doFilter(AuthoringUIModeServiceImpl.java:333) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:248) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.aemreact.core.filters.LoggingFilter.doFilter(LoggingFilter.java:58) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at br.com.bancopan.core.filters.LoggingFilter.doFilter(LoggingFilter.java:58) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.adobe.aem.guides.wknd.core.filters.LoggingFilter.doFilter(LoggingFilter.java:58) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:109) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84) at com.day.cq.dam.core.impl.servlet.DisableLegacyServletFilter.executeFilter(DisableLegacyServletFilter.java:197) at com.day.cq.dam.core.impl.servlet.DisableLegacyServletFilter.doFilter(DisableLegacyServletFilter.java:154) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84) at com.adobe.cq.wcm.core.extensions.amp.internal.AmpModeForwardFilter.doFilter(AmpModeForwardFilter.java:84) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84) at com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper.handleFilter(FormsHandlingServletHelper.java:226) at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.java:138) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.adobe.granite.optout.impl.OptOutFilter.doFilter(OptOutFilter.java:76) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper.handleFilter(FormsHandlingServletHelper.java:226) at com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet.doFilter(CoreFormHandlingServlet.java:123) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper.handleFilter(FormsHandlingServletHelper.java:226) at com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet.doFilter(CoreFormHandlingServlet.java:123) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:90) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.adobe.cq.history.impl.HistoryRequestFilter.doFilter(HistoryRequestFilter.java:111) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:87) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.adobe.granite.httpcache.impl.InnerCacheFilter.doFilter(InnerCacheFilter.java:81) at com.adobe.granite.httpcache.impl.InnerCacheFilter.doFilter(InnerCacheFilter.java:60) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:131) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at com.adobe.granite.csrf.impl.CSRFFilter.doFilter(CSRFFilter.java:225) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at org.apache.sling.security.impl.ContentDispositionFilter.doFilter(ContentDispositionFilter.java:162) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84) at com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl.doFilter(ResourceResolverHelperImpl.java:83) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.doProcessRequest(SlingRequestProcessorImpl.java:151) at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:250) at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:126) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:86) at com.adobe.granite.metrics.knownerrors.impl.ReportingRequestFilter.doFilter(ReportingRequestFilter.java:100) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) at com.adobe.granite.cors.impl.CORSFilter.doFilter(CORSFilter.java:87) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) at com.adobe.granite.license.impl.http.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:301) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:131) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:73) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) at org.apache.sling.engine.impl.parameters.RequestParameterSupportConfigurer.doFilter(RequestParameterSupportConfigurer.java:67) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) at org.apache.felix.http.base.internal.dispatch.Dispatcher$1.doFilter(Dispatcher.java:152) at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1002) at com.adobe.granite.cors.impl.CORSFilter.doFilter(CORSFilter.java:87) at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137) at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008) at com.adobe.granite.auth.oauth.impl.OAuthCallbackFilter.doFilter(OAuthCallbackFilter.java:78) at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137) at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008) at com.adobe.granite.auth.ims.impl.IMSClusterExchangeTokenPreprocessor.doFilter(IMSClusterExchangeTokenPreprocessor.java:248) at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137) at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008) at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:323) at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137) at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008) at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:97) at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137) at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008) at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager.invokePreprocessors(WhiteboardManager.java:1012) at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:94) at org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet.java:49) at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: 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:45) 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:498) ... 191 more Caused by: org.apache.sling.models.factory.ModelClassException: Could not yet find an adapter factory for the model interface com.adobe.aem.spa.project.core.models.Page from adaptable class org.apache.sling.engine.impl.SlingHttpServletRequestImpl at org.apache.sling.models.impl.ModelAdapterFactory.getImplementationTypeForAdapterType(ModelAdapterFactory.java:346) at org.apache.sling.models.impl.ModelAdapterFactory.internalCreateModel(ModelAdapterFactory.java:377) at org.apache.sling.models.impl.ModelAdapterFactory.getAdapter(ModelAdapterFactory.java:266) at org.apache.sling.adapter.internal.AdapterManagerImpl.getAdapter(AdapterManagerImpl.java:121) at org.apache.sling.engine.impl.SlingMainServlet.adaptTo(SlingMainServlet.java:625) at org.apache.sling.engine.impl.request.RequestData.adaptTo(RequestData.java:707) at org.apache.sling.engine.impl.SlingHttpServletRequestImpl.adaptTo(SlingHttpServletRequestImpl.java:89) at org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper.adaptTo(SlingHttpServletRequestWrapper.java:148) at org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper.adaptTo(SlingHttpServletRequestWrapper.java:148) at org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper.adaptTo(SlingHttpServletRequestWrapper.java:148) at org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper.adaptTo(SlingHttpServletRequestWrapper.java:148) at org.apache.sling.scripting.sightly.impl.engine.extension.use.JavaUseProvider.loadObject(JavaUseProvider.java:204) at org.apache.sling.scripting.sightly.impl.engine.extension.use.JavaUseProvider.provide(JavaUseProvider.java:130) at org.apache.sling.scripting.sightly.impl.engine.extension.use.UseRuntimeExtension.call(UseRuntimeExtension.java:71) ... 198 more Request Progress: 0 TIMER_START{Request Processing} 6 COMMENT timer_end format is {,}
47 LOG Method=GET, PathInfo=null
49 TIMER_START{handleSecurity}
5840 TIMER_END{5785,handleSecurity} authenticator org.apache.sling.auth.core.impl.SlingAuthenticator@41d829d1 returns true
8623 TIMER_START{ResourceResolution}
9137 TIMER_END{509,ResourceResolution} URI=/content/wknd-spa-react/us/en/home.html resolves to Resource=JcrNodeResource, type=cq:Page, superType=null, path=/content/wknd-spa-react/us/en/home
9156 LOG Resource Path Info: SlingRequestPathInfo: path='/content/wknd-spa-react/us/en/home', selectorString='null', extension='html', suffix='null'
9157 TIMER_START{ServletResolution}
9162 TIMER_START{resolveServlet(/content/wknd-spa-react/us/en/home)}
9256 TIMER_END{90,resolveServlet(/content/wknd-spa-react/us/en/home)} Using servlet BundledScriptServlet (/libs/cq/Page/Page.jsp)
9420 TIMER_END{263,ServletResolution} URI=/content/wknd-spa-react/us/en/home.html handled by Servlet=BundledScriptServlet (/libs/cq/Page/Page.jsp)
9428 LOG Applying Requestfilters
9437 LOG Calling filter: com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl
9710 LOG Calling filter: org.apache.sling.security.impl.ContentDispositionFilter
9960 LOG Calling filter: com.adobe.granite.csrf.impl.CSRFFilter
10107 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
10117 LOG Calling filter: com.adobe.granite.httpcache.impl.InnerCacheFilter
10419 LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
10618 LOG Calling filter: com.adobe.cq.history.impl.HistoryRequestFilter
17358 LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter
17560 LOG Calling filter: com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet
17765 LOG Calling filter: com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet
17795 LOG Calling filter: com.adobe.granite.optout.impl.OptOutFilter
17892 LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet
17952 LOG Calling filter: com.adobe.cq.wcm.core.extensions.amp.internal.AmpModeForwardFilter
19471 LOG Calling filter: com.day.cq.dam.core.impl.servlet.DisableLegacyServletFilter
19627 LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
19782 LOG Calling filter: com.adobe.aem.guides.wknd.core.filters.LoggingFilter
19905 LOG Calling filter: br.com.bancopan.core.filters.LoggingFilter
20016 LOG Calling filter: com.aemreact.core.filters.LoggingFilter
20116 LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter
20121 LOG Calling filter: com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl
20289 LOG Calling filter: com.adobe.granite.rest.assets.impl.AssetContentDispositionFilter
20411 LOG Calling filter: com.adobe.granite.requests.logging.impl.RequestLoggerImpl
20507 LOG Calling filter: com.adobe.granite.rest.impl.servlet.ApiResourceFilter
20825 LOG Calling filter: com.day.cq.dam.core.impl.servlet.ActivityRecordHandler
20893 LOG Calling filter: com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler
20993 LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter
21339 LOG Applying Componentfilters
21345 LOG Calling filter: com.day.cq.personalization.impl.TargetComponentFilter
21522 LOG Calling filter: com.day.cq.wcm.core.impl.page.PageLockFilter
21530 LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
22207 LOG Calling filter: com.day.cq.wcm.core.impl.monitoring.PageComponentRequestFilter
22332 LOG Calling filter: com.adobe.granite.metrics.knownerrors.impl.ErrorLoggingComponentFilter
22364 LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
22516 TIMER_START{BundledScriptServlet (/libs/cq/Page/Page.jsp)#0}
23131 LOG Adding bindings took 56 microseconds
23715 LOG Including resource JcrNodeResource, type=wknd-spa-react/components/page, superType=null, path=/content/wknd-spa-react/us/en/home/jcr:content (SlingRequestPathInfo: path='/content/wknd-spa-react/us/en/home/jcr:content', selectorString='null', extension='html', suffix='null')
23721 TIMER_START{resolveServlet(/content/wknd-spa-react/us/en/home/jcr:content)}
23756 TIMER_END{32,resolveServlet(/content/wknd-spa-react/us/en/home/jcr:content)} Using servlet /apps/spa-project-core/components/page/page.html
23762 LOG Applying Includefilters
23766 LOG Calling filter: com.adobe.granite.csrf.impl.CSRFFilter
23775 LOG Calling filter: com.day.cq.personalization.impl.TargetComponentFilter
23779 LOG Calling filter: com.day.cq.wcm.core.impl.page.PageLockFilter
23783 LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
24347 LOG Calling filter: com.day.cq.wcm.core.impl.monitoring.PageComponentRequestFilter
24403 LOG Calling filter: com.adobe.granite.metrics.knownerrors.impl.ErrorLoggingComponentFilter
24407 LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
24410 LOG Calling filter: com.day.cq.wcm.core.impl.WCMDeveloperModeFilter
24432 TIMER_START{/apps/spa-project-core/components/page/page.html#1}
25220 LOG Adding bindings took 134 microseconds
31243 LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html], order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-mobile: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), Config(type=mobiledebug, config=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-mobiledebug: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), Config(type=contentsync, config=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-contentsync: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), serializer=Config(type=htmlwriter, config={}))}
36131 LOG SCRIPT ERROR: Identifier com.adobe.aem.spa.project.core.models.Page cannot be correctly instantiated by the Use API
36178 TIMER_END{11743,/apps/spa-project-core/components/page/page.html#1}
36930 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMDeveloperModeFilter, inner=11765, total=11775, outer=10
36972 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMDebugFilter, inner=11775, total=11780, outer=5
36985 LOG Filter timing: filter=com.adobe.granite.metrics.knownerrors.impl.ErrorLoggingComponentFilter, inner=11780, total=12280, outer=500
36998 LOG Filter timing: filter=com.day.cq.wcm.core.impl.monitoring.PageComponentRequestFilter, inner=12280, total=12362, outer=82
37010 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMComponentFilter, inner=12362, total=12929, outer=567
37022 LOG Filter timing: filter=com.day.cq.wcm.core.impl.page.PageLockFilter, inner=12929, total=12935, outer=6
37034 LOG Filter timing: filter=com.day.cq.personalization.impl.TargetComponentFilter, inner=12935, total=12972, outer=37
38297 TIMER_END{15779,BundledScriptServlet (/libs/cq/Page/Page.jsp)#0}
38466 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMDebugFilter, inner=15800, total=15938, outer=138
38477 LOG Filter timing: filter=com.adobe.granite.metrics.knownerrors.impl.ErrorLoggingComponentFilter, inner=15938, total=15974, outer=36
38487 LOG Filter timing: filter=com.day.cq.wcm.core.impl.monitoring.PageComponentRequestFilter, inner=15974, total=16229, outer=255
38497 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMComponentFilter, inner=16229, total=16911, outer=682
38507 LOG Filter timing: filter=com.day.cq.wcm.core.impl.page.PageLockFilter, inner=16911, total=16919, outer=8
39087 LOG Filter timing: filter=com.adobe.cq.dtm.reactor.impl.servlets.ClientLibraryFilter, inner=0, total=17410, outer=17410
39098 LOG Filter timing: filter=com.adobe.cq.dam.webdav.impl.io.DamWebdavRequestFilter, inner=17410, total=17411, outer=1
39109 LOG Filter timing: filter=com.day.cq.wcm.core.impl.warp.TimeWarpFilter, inner=17411, total=17547, outer=136
39119 LOG Filter timing: filter=com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler, inner=17547, total=17673, outer=126
39130 LOG Filter timing: filter=com.day.cq.dam.core.impl.servlet.DamContentDispositionFilter, inner=17673, total=17674, outer=1
39140 LOG Filter timing: filter=com.day.cq.dam.core.impl.servlet.ActivityRecordHandler, inner=17674, total=17742, outer=68
39150 LOG Filter timing: filter=com.adobe.granite.rest.impl.servlet.ApiResourceFilter, inner=17742, total=18081, outer=339
39160 LOG Filter timing: filter=com.adobe.granite.requests.logging.impl.RequestLoggerImpl, inner=18081, total=18221, outer=140
39171 LOG Filter timing: filter=com.adobe.cq.projects.impl.servlet.ProjectContentDispositionFilter, inner=18221, total=18222, outer=1
39181 LOG Filter timing: filter=com.adobe.granite.rest.assets.impl.AssetContentDispositionFilter, inner=18222, total=18370, outer=148
39190 LOG Filter timing: filter=com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl, inner=18370, total=18539, outer=169
39201 LOG Filter timing: filter=com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter, inner=18539, total=18546, outer=7
39221 LOG Filter timing: filter=com.aemreact.core.filters.LoggingFilter, inner=18546, total=18668, outer=122
39231 LOG Filter timing: filter=br.com.bancopan.core.filters.LoggingFilter, inner=18668, total=18803, outer=135
39241 LOG Filter timing: filter=com.adobe.aem.guides.wknd.core.filters.LoggingFilter, inner=18803, total=18946, outer=143
39251 LOG Filter timing: filter=org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter, inner=18946, total=19121, outer=175
39261 LOG Filter timing: filter=com.adobe.aem.graphiql.core.filters.SitesGraphiqlDevModeFilter, inner=19121, total=19122, outer=1
39271 LOG Filter timing: filter=com.day.cq.dam.core.impl.servlet.DisableLegacyServletFilter, inner=19122, total=19323, outer=201
39282 LOG Filter timing: filter=com.adobe.cq.dam.cfm.headless.misc.FeatureToggleFilter, inner=19323, total=19328, outer=5
39292 LOG Filter timing: filter=com.adobe.cq.wcm.core.extensions.amp.internal.AmpModeForwardFilter, inner=19328, total=20856, outer=1528
39303 LOG Filter timing: filter=com.adobe.aem.graphql.sites.ui.admin.impl.FeatureToggleFilter, inner=20856, total=20862, outer=6
39313 LOG Filter timing: filter=com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet, inner=20862, total=20941, outer=79
39323 LOG Filter timing: filter=com.adobe.granite.optout.impl.OptOutFilter, inner=20941, total=21057, outer=116
39333 LOG Filter timing: filter=com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet, inner=21057, total=21109, outer=52
39343 LOG Filter timing: filter=com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet, inner=21109, total=21341, outer=232
39353 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMRequestFilter, inner=21341, total=21622, outer=281
39362 LOG Filter timing: filter=com.adobe.cq.history.impl.HistoryRequestFilter, inner=21622, total=28297, outer=6675
39373 LOG Filter timing: filter=org.apache.sling.rewriter.impl.RewriterFilter, inner=28297, total=28599, outer=302
39383 LOG Filter timing: filter=com.adobe.granite.httpcache.impl.InnerCacheFilter, inner=28599, total=28919, outer=320
39393 LOG Filter timing: filter=org.apache.sling.i18n.impl.I18NFilter, inner=28919, total=28940, outer=21
39403 LOG Filter timing: filter=com.adobe.granite.csrf.impl.CSRFFilter, inner=28940, total=29089, outer=149
39413 LOG Filter timing: filter=org.apache.sling.security.impl.ContentDispositionFilter, inner=29089, total=29359, outer=270
39424 LOG Filter timing: filter=org.apache.sling.distribution.servlet.DistributionAgentCreationFilter, inner=29359, total=29366, outer=7
43479 LOG Applying Error filters
43492 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
43498 LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
43545 TIMER_START{handleError:throwable=javax.servlet.ServletException}
49660 TIMER_END{6112,handleError:throwable=javax.servlet.ServletException} Using handler BundledScriptServlet (/libs/sling/servlet/errorhandler/default.jsp)
49813 LOG Adding bindings took 49 microseconds
51439 LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html], order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-mobile: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), Config(type=mobiledebug, config=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-mobiledebug: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), Config(type=contentsync, config=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-contentsync: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), serializer=Config(type=htmlwriter, config={}))}
57462 TIMER_END{57458,Request Processing} Dumping SlingRequestProgressTracker Entries
Yarn start: Failed to load resource: the server responded with a status of 500 (Server Error) - arquivo http://localhost:3000/content/wknd-spa-react/us/en.model.json
Temos algum tutorial de como usar react ou angular dentro do AEM?