Cannot find "/libs/wcm/foundation/components/page/stats.js" in AEM 6.3 -


we calling "/libs/wcm/foundation/components/page/stats.js" using sightly data.sly.use 1 of our component's html in aem 6.1. however, stats.js file doesn't exist in aem6.3. after deploying code getting below error while accessing page-

25.07.2017 12:24:50.000 *info* [commitstats] commitstats 37 commits user clientlibs-service location http-get:/editor.html/content/mysite/en/test.html [commitstats overhead 0ms = 0.0us / commit] 25.07.2017 12:24:52.278 *error* [10.44.48.230 [1500999891705] /content/mysite/en/test.html http/1.1] com.day.cq.wcm.core.impl.wcmdevelopermodefilter error during include of slingrequestpathinfo: path='/content/mysite/en/test/jcr:content', selectorstring='null', extension='html', suffix='null' org.apache.sling.scripting.sightly.sightlyexception: required script resource not located: /libs/wcm/foundation/components/page/stats.js. caller /apps/mysite/components/page/base/head.html     @ org.apache.sling.scripting.sightly.js.impl.utils.getscriptresource(utils.java:62)     @ org.apache.sling.scripting.sightly.js.impl.jsuseprovider.provide(jsuseprovider.java:99)     @ org.apache.sling.scripting.sightly.impl.engine.extension.use.useruntimeextension.call(useruntimeextension.java:72)     @ org.apache.sling.scripting.sightly.impl.engine.runtime.rendercontextimpl.call(rendercontextimpl.java:75)     @ org.apache.sling.scripting.sightly.apps.mysite.components.page.base.head_html.render(head_html.java:50)     @ org.apache.sling.scripting.sightly.java.compiler.renderunit.render(renderunit.java:48)     @ org.apache.sling.scripting.sightly.impl.engine.sightlycompiledscript.eval(sightlycompiledscript.java:61)     @ org.apache.sling.scripting.core.impl.defaultslingscript.call(defaultslingscript.java:386)     @ org.apache.sling.scripting.core.impl.defaultslingscript.eval(defaultslingscript.java:184)     @ org.apache.sling.scripting.core.impl.defaultslingscript.service(defaultslingscript.java:491)     @ com.adobe.cq.sightly.wcmscripthelper.includescript(wcmscripthelper.java:223)     @ com.adobe.cq.sightly.internal.extensions.includeextension.call(includeextension.java:73)     @ org.apache.sling.scripting.sightly.impl.engine.runtime.rendercontextimpl.call(rendercontextimpl.java:75)     @ org.apache.sling.scripting.sightly.apps.mysite.components.page.base.base_html.render(base_html.java:44)     @ org.apache.sling.scripting.sightly.java.compiler.renderunit.render(renderunit.java:48)     @ org.apache.sling.scripting.sightly.impl.engine.sightlycompiledscript.eval(sightlycompiledscript.java:61)     @ org.apache.sling.scripting.core.impl.defaultslingscript.call(defaultslingscript.java:386)     @ org.apache.sling.scripting.core.impl.defaultslingscript.eval(defaultslingscript.java:184)     @ org.apache.sling.scripting.core.impl.defaultslingscript.service(defaultslingscript.java:491)     @ org.apache.sling.engine.impl.request.requestdata.service(requestdata.java:552)     @ org.apache.sling.engine.impl.filter.slingcomponentfilterchain.render(slingcomponentfilterchain.java:44)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:77)     @ com.day.cq.wcm.core.impl.wcmdevelopermodefilter.dofilterwitherrorhandling(wcmdevelopermodefilter.java:163)     @ com.day.cq.wcm.core.impl.wcmdevelopermodefilter.dofilter(wcmdevelopermodefilter.java:134)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.day.cq.wcm.core.impl.wcmdebugfilter.dofilterwitherrorhandling(wcmdebugfilter.java:192)     @ com.day.cq.wcm.core.impl.wcmdebugfilter.dofilter(wcmdebugfilter.java:159)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.day.cq.wcm.core.impl.wcmcomponentfilter.dofilter(wcmcomponentfilter.java:278)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.day.cq.personalization.impl.targetcomponentfilter.dofilter(targetcomponentfilter.java:96)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ org.apache.sling.engine.impl.slingrequestprocessorimpl.processcomponent(slingrequestprocessorimpl.java:282)     @ org.apache.sling.engine.impl.slingrequestprocessorimpl.dispatchrequest(slingrequestprocessorimpl.java:322)     @ org.apache.sling.engine.impl.request.slingrequestdispatcher.dispatch(slingrequestdispatcher.java:211)     @ org.apache.sling.engine.impl.request.slingrequestdispatcher.include(slingrequestdispatcher.java:104)     @ com.day.cq.wcm.core.impl.wcmcomponentfilter$forwardrequestdispatcher.include(wcmcomponentfilter.java:516)     @ org.apache.jsp.libs.cq.page.page_jsp._jspservice(page_jsp.java:106)     @ org.apache.sling.scripting.jsp.jasper.runtime.httpjspbase.service(httpjspbase.java:70)     @ javax.servlet.http.httpservlet.service(httpservlet.java:725)     @ org.apache.sling.scripting.jsp.jasper.servlet.jspservletwrapper.service(jspservletwrapper.java:502)     @ org.apache.sling.scripting.jsp.jasper.servlet.jspservletwrapper.service(jspservletwrapper.java:449)     @ org.apache.sling.scripting.jsp.jspscriptenginefactory.calljsp(jspscriptenginefactory.java:346)     @ org.apache.sling.scripting.jsp.jspscriptenginefactory.access$100(jspscriptenginefactory.java:101)     @ org.apache.sling.scripting.jsp.jspscriptenginefactory$jspscriptengine.eval(jspscriptenginefactory.java:607)     @ org.apache.sling.scripting.core.impl.defaultslingscript.call(defaultslingscript.java:388)     @ org.apache.sling.scripting.core.impl.defaultslingscript.eval(defaultslingscript.java:184)     @ org.apache.sling.scripting.core.impl.defaultslingscript.service(defaultslingscript.java:491)     @ org.apache.sling.engine.impl.request.requestdata.service(requestdata.java:552)     @ org.apache.sling.engine.impl.filter.slingcomponentfilterchain.render(slingcomponentfilterchain.java:44)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:77)     @ com.day.cq.wcm.core.impl.wcmdebugfilter.dofilter(wcmdebugfilter.java:156)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.day.cq.wcm.core.impl.wcmcomponentfilter.filterrootinclude(wcmcomponentfilter.java:375)     @ com.day.cq.wcm.core.impl.wcmcomponentfilter.dofilter(wcmcomponentfilter.java:190)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.day.cq.personalization.impl.targetcomponentfilter.dofilter(targetcomponentfilter.java:96)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ org.apache.sling.engine.impl.slingrequestprocessorimpl.processcomponent(slingrequestprocessorimpl.java:282)     @ org.apache.sling.engine.impl.filter.requestslingfilterchain.render(requestslingfilterchain.java:49)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:71)     @ com.day.cq.wcm.core.impl.warp.timewarpfilter.dofilter(timewarpfilter.java:109)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.adobe.cq.social.ugcbase.security.impl.saferslingpostservlet.dofilter(saferslingpostservlet.java:114)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.day.cq.dam.core.impl.assetlinkshare.adhocassetshareauthhandler.dofilter(adhocassetshareauthhandler.java:436)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.day.cq.dam.core.impl.servlet.activityrecordhandler.dofilter(activityrecordhandler.java:154)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:73)     @ com.adobe.granite.rest.impl.servlet.apiresourcefilter.dofilter(apiresourcefilter.java:70)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.adobe.granite.requests.logging.impl.requestloggerimpl.dofilter(requestloggerimpl.java:126)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.adobe.granite.rest.assets.impl.assetcontentdispositionfilter.dofilter(assetcontentdispositionfilter.java:96)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.adobe.granite.csrf.impl.csrffilter.dofilter(csrffilter.java:217)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ org.apache.sling.security.impl.contentdispositionfilter.dofilter(contentdispositionfilter.java:180)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.day.cq.wcm.core.impl.authoringuimodeserviceimpl.dofilter(authoringuimodeserviceimpl.java:367)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.day.cq.wcm.mobile.core.impl.redirect.redirectfilter.dofilter(redirectfilter.java:248)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ org.apache.sling.engine.impl.debug.requestprogresstrackerlogfilter.dofilter(requestprogresstrackerlogfilter.java:107)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.adobe.cq.social.commons.cors.corsauthenticationfilter.dofilter(corsauthenticationfilter.java:91)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.day.cq.wcm.foundation.forms.formshandlingservlethelper.handlefilter(formshandlingservlethelper.java:221)     @ com.day.cq.wcm.foundation.forms.impl.formshandlingservlet.dofilter(formshandlingservlet.java:138)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.adobe.granite.optout.impl.optoutfilter.dofilter(optoutfilter.java:76)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.day.cq.wcm.foundation.forms.formshandlingservlethelper.handlefilter(formshandlingservlethelper.java:221)     @ com.adobe.cq.wcm.core.components.internal.servlets.coreformhandlingservlet.dofilter(coreformhandlingservlet.java:131)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.day.cq.wcm.core.impl.wcmrequestfilter.dofilter(wcmrequestfilter.java:90)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.adobe.cq.history.impl.historyrequestfilter.dofilter(historyrequestfilter.java:122)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.adobe.cq.mcm.campaign.servlets.campaigncopytracker.dofilter(campaigncopytracker.java:100)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ org.apache.sling.rewriter.impl.rewriterfilter.dofilter(rewriterfilter.java:83)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ com.adobe.granite.httpcache.impl.innercachefilter.dofilter(innercachefilter.java:81)     @ com.adobe.granite.httpcache.impl.innercachefilter.dofilter(innercachefilter.java:60)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ org.apache.sling.i18n.impl.i18nfilter.dofilter(i18nfilter.java:138)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:73)     @ com.adobe.granite.resourceresolverhelper.impl.resourceresolverhelperimpl.dofilter(resourceresolverhelperimpl.java:83)     @ org.apache.sling.engine.impl.filter.abstractslingfilterchain.dofilter(abstractslingfilterchain.java:68)     @ org.apache.sling.engine.impl.slingrequestprocessorimpl.doprocessrequest(slingrequestprocessorimpl.java:151)     @ org.apache.sling.engine.impl.slingmainservlet.service(slingmainservlet.java:219)     @ org.apache.felix.http.base.internal.handler.servlethandler.handle(servlethandler.java:85)     @ org.apache.felix.http.base.internal.dispatch.invocationchain.dofilter(invocationchain.java:79)     @ com.adobe.granite.license.impl.licensecheckfilter.dofilter(licensecheckfilter.java:308)     @ org.apache.felix.http.base.internal.handler.filterhandler.handle(filterhandler.java:135)     @ org.apache.felix.http.base.internal.dispatch.invocationchain.dofilter(invocationchain.java:74)     @ org.apache.felix.http.sslfilter.internal.sslfilter.dofilter(sslfilter.java:96)     @ org.apache.felix.http.base.internal.handler.filterhandler.handle(filterhandler.java:135)     @ org.apache.felix.http.base.internal.dispatch.invocationchain.dofilter(invocationchain.java:74)     @ org.apache.sling.security.impl.referrerfilter.dofilter(referrerfilter.java:295)     @ org.apache.felix.http.base.internal.handler.filterhandler.handle(filterhandler.java:135)     @ org.apache.felix.http.base.internal.dispatch.invocationchain.dofilter(invocationchain.java:74)     @ org.apache.sling.i18n.impl.i18nfilter.dofilter(i18nfilter.java:138)     @ org.apache.felix.http.base.internal.handler.filterhandler.handle(filterhandler.java:135)     @ org.apache.felix.http.base.internal.dispatch.invocationchain.dofilter(invocationchain.java:74)     @ org.apache.sling.featureflags.impl.featuremanager.dofilter(featuremanager.java:116)     @ org.apache.felix.http.base.internal.handler.filterhandler.handle(filterhandler.java:135)     @ org.apache.felix.http.base.internal.dispatch.invocationchain.dofilter(invocationchain.java:74)     @ org.apache.sling.engine.impl.log.requestloggerfilter.dofilter(requestloggerfilter.java:72)     @ org.apache.felix.http.base.internal.handler.filterhandler.handle(filterhandler.java:135)     @ org.apache.felix.http.base.internal.dispatch.invocationchain.dofilter(invocationchain.java:74)     @ org.apache.felix.http.base.internal.dispatch.dispatcher.dispatch(dispatcher.java:128)     @ org.apache.felix.http.base.internal.dispatch.dispatcherservlet.service(dispatcherservlet.java:49)     @ javax.servlet.http.httpservlet.service(httpservlet.java:725)     @ org.eclipse.jetty.servlet.servletholder.handle(servletholder.java:812)     @ org.eclipse.jetty.servlet.servlethandler.dohandle(servlethandler.java:587)     @ org.eclipse.jetty.server.session.sessionhandler.dohandle(sessionhandler.java:221)     @ org.eclipse.jetty.server.handler.contexthandler.dohandle(contexthandler.java:1127)     @ org.eclipse.jetty.servlet.servlethandler.doscope(servlethandler.java:515)     @ org.eclipse.jetty.server.session.sessionhandler.doscope(sessionhandler.java:185)     @ org.eclipse.jetty.server.handler.contexthandler.doscope(contexthandler.java:1061)     @ org.eclipse.jetty.server.handler.scopedhandler.handle(scopedhandler.java:141)     @ org.eclipse.jetty.server.handler.contexthandlercollection.handle(contexthandlercollection.java:215)     @ org.eclipse.jetty.server.handler.handlerwrapper.handle(handlerwrapper.java:97)     @ org.eclipse.jetty.server.server.handle(server.java:499)     @ org.eclipse.jetty.server.httpchannel.handle(httpchannel.java:311)     @ org.eclipse.jetty.server.httpconnection.onfillable(httpconnection.java:257)     @ org.eclipse.jetty.io.abstractconnection$2.run(abstractconnection.java:544)     @ org.eclipse.jetty.util.thread.queuedthreadpool.runjob(queuedthreadpool.java:635)     @ org.eclipse.jetty.util.thread.queuedthreadpool$3.run(queuedthreadpool.java:555)     @ java.lang.thread.run(thread.java:745) 

can build package containing file aem 6.1 , install package in aem 6.3? approach? there other approach can use?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -