Skip to Content
0
Aug 03, 2020 at 12:53 PM

Getting abstractJavaScriptMessageResourceAccessor error when deploying 2005 V2 onto Commerce Cloud

94 Views

When deploying a successful build with 2005 V2 in SAP Commerce Cloud, the deployment fails with the following error:

{"origin":"catalina","timeMillis":1596405454807,"thread":"localhost-startStop-1","level":"SEVERE","loggerName":"org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/yacceleratorstorefront]","threadId":22,"threadPriority":5,"message":"Exception sending context initialized event to listener instance of class [de.hybris.platform.yacceleratorstorefront.filters.HybrisStorefrontContextLoaderListener]","contextMap":{"sourceClassName":"org.apache.catalina.core.StandardContext","sourceMethodName":"listenerStart"},"thrown":{"localizedMessage":"Invalid bean definition with name 'defaultAdaptivesearchsamplesaddonJavaScriptMessageResourceAccessor' defined in class path resource [adaptivesearchsamplesaddon/web/spring/adaptivesearchsamplesaddon-web-spring.xml]: Could not resolve parent bean definition 'abstractJavaScriptMessageResourceAccessor'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'abstractJavaScriptMessageResourceAccessor' available","message":"Invalid bean definition with name 'defaultAdaptivesearchsamplesaddonJavaScriptMessageResourceAccessor' defined in class path resource [adaptivesearchsamplesaddon/web/spring/adaptivesearchsamplesaddon-web-spring.xml]: Could not resolve parent bean definition 'abstractJavaScriptMessageResourceAccessor'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'abstractJavaScriptMessageResourceAccessor' available","name":"org.springframework.beans.factory.BeanDefinitionStoreException","cause":{"localizedMessage":"No bean named 'abstractJavaScriptMessageResourceAccessor' available","message":"No bean named 'abstractJavaScriptMessageResourceAccessor' available","name":"org.springframework.beans.factory.NoSuchBeanDefinitionException","extendedStackTrace":[{"class":"org.springframework.beans.factory.support.DefaultListableBeanFactory","method":"getBeanDefinition","file":"DefaultListableBeanFactory.java","line":805},{"class":"org.springframework.beans.factory.support.AbstractBeanFactory","method":"getMergedLocalBeanDefinition","file":"AbstractBeanFactory.java","line":1278},{"class":"org.springframework.beans.factory.support.AbstractBeanFactory","method":"getMergedBeanDefinition","file":"AbstractBeanFactory.java","line":1065},{"class":"org.springframework.beans.factory.support.AbstractBeanFactory","method":"getMergedBeanDefinition","file":"AbstractBeanFactory.java","line":1062},{"class":"org.springframework.beans.factory.support.AbstractBeanFactory","method":"getMergedBeanDefinition","file":"AbstractBeanFactory.java","line":1062},{"class":"org.springframework.beans.factory.support.AbstractBeanFactory","method":"getMergedBeanDefinition","file":"AbstractBeanFactory.java","line":1335},{"class":"org.springframework.beans.factory.support.AbstractBeanFactory","method":"getMergedBeanDefinition","file":"AbstractBeanFactory.java","line":1292},{"class":"org.springframework.beans.factory.support.AbstractBeanFactory","method":"getMergedLocalBeanDefinition","file":"AbstractBeanFactory.java","line":1278},{"class":"org.springframework.beans.factory.support.AbstractBeanFactory","method":"getMergedBeanDefinition","file":"AbstractBeanFactory.java","line":1065},{"class":"de.hybris.platform.spring.LazyInitOverrideBeanFactoryPostProcessor","method":"getMergedBeanDefinition","file":"LazyInitOverrideBeanFactoryPostProcessor.java","line":65},{"class":"de.hybris.platform.spring.LazyInitOverrideBeanFactoryPostProcessor","method":"postProcessBeanFactory","file":"LazyInitOverrideBeanFactoryPostProcessor.java","line":48},{"class":"org.springframework.context.support.PostProcessorRegistrationDelegate","method":"invokeBeanFactoryPostProcessors","file":"PostProcessorRegistrationDelegate.java","line":286},{"class":"org.springframework.context.support.PostProcessorRegistrationDelegate","method":"invokeBeanFactoryPostProcessors","file":"PostProcessorRegistrationDelegate.java","line":181},{"class":"org.springframework.context.support.AbstractApplicationContext","method":"invokeBeanFactoryPostProcessors","file":"AbstractApplicationContext.java","line":706},{"class":"org.springframework.context.support.AbstractApplicationContext","method":"refresh","file":"AbstractApplicationContext.java","line":532},{"class":"org.springframework.web.context.ContextLoader","method":"configureAndRefreshWebApplicationContext","file":"ContextLoader.java","line":401},{"class":"org.springframework.web.context.ContextLoader","method":"initWebApplicationContext","file":"ContextLoader.java","line":292},{"class":"de.hybris.platform.spring.HybrisContextLoaderListener","method":"doInitWebApplicationContext","file":"HybrisContextLoaderListener.java","line":219},{"class":"de.hybris.platform.spring.HybrisContextLoaderListener","method":"initWebApplicationContext","file":"HybrisContextLoaderListener.java","line":192},{"class":"org.springframework.web.context.ContextLoaderListener","method":"contextInitialized","file":"ContextLoaderListener.java","line":103},{"class":"de.hybris.platform.spring.HybrisContextLoaderListener","method":"contextInitialized","file":"HybrisContextLoaderListener.java","line":88},{"class":"org.apache.catalina.core.StandardContext","method":"listenerStart","file":"StandardContext.java","line":4697},{"class":"org.apache.catalina.core.StandardContext","method":"startInternal","file":"StandardContext.java","line":5163},{"class":"org.apache.catalina.util.LifecycleBase","method":"start","file":"LifecycleBase.java","line":183},{"class":"org.apache.catalina.core.ContainerBase","method":"addChildInternal","file":"ContainerBase.java","line":743},{"class":"org.apache.catalina.core.ContainerBase","method":"addChild","file":"ContainerBase.java","line":719},{"class":"org.apache.catalina.core.StandardHost","method":"addChild","file":"StandardHost.java","line":705},{"class":"org.apache.catalina.startup.HostConfig","method":"deployDescriptor","file":"HostConfig.java","line":614},{"class":"org.apache.catalina.startup.HostConfig$DeployDescriptor","method":"run","file":"HostConfig.java","line":1822},{"class":"java.util.concurrent.Executors$RunnableAdapter","method":"call","file":"Executors.java","line":515},{"class":"java.util.concurrent.FutureTask","method":"run","file":"FutureTask.java","line":264},{"class":"java.util.concurrent.ThreadPoolExecutor","method":"runWorker","file":"ThreadPoolExecutor.java","line":1128},{"class":"java.util.concurrent.ThreadPoolExecutor$Worker","method":"run","file":"ThreadPoolExecutor.java","line":628},{"class":"java.lang.Thread","method":"run","file":"Thread.java","line":834}]},"extendedStackTrace":[{"class":"org.springframework.beans.factory.support.AbstractBeanFactory","method":"getMergedBeanDefinition","file":"AbstractBeanFactory.java","line":1351},{"class":"org.springframework.beans.factory.support.AbstractBeanFactory","method":"getMergedBeanDefinition","file":"AbstractBeanFactory.java","line":1292},{"class":"org.springframework.beans.factory.support.AbstractBeanFactory","method":"getMergedLocalBeanDefinition","file":"AbstractBeanFactory.java","line":1278},{"class":"org.springframework.beans.factory.support.AbstractBeanFactory","method":"getMergedBeanDefinition","file":"AbstractBeanFactory.java","line":1065},{"class":"de.hybris.platform.spring.LazyInitOverrideBeanFactoryPostProcessor","method":"getMergedBeanDefinition","file":"LazyInitOverrideBeanFactoryPostProcessor.java","line":65},{"class":"de.hybris.platform.spring.LazyInitOverrideBeanFactoryPostProcessor","method":"postProcessBeanFactory","file":"LazyInitOverrideBeanFactoryPostProcessor.java","line":48},{"class":"org.springframework.context.support.PostProcessorRegistrationDelegate","method":"invokeBeanFactoryPostProcessors","file":"PostProcessorRegistrationDelegate.java","line":286},{"class":"org.springframework.context.support.PostProcessorRegistrationDelegate","method":"invokeBeanFactoryPostProcessors","file":"PostProcessorRegistrationDelegate.java","line":181},{"class":"org.springframework.context.support.AbstractApplicationContext","method":"invokeBeanFactoryPostProcessors","file":"AbstractApplicationContext.java","line":706},{"class":"org.springframework.context.support.AbstractApplicationContext","method":"refresh","file":"AbstractApplicationContext.java","line":532},{"class":"org.springframework.web.context.ContextLoader","method":"configureAndRefreshWebApplicationContext","file":"ContextLoader.java","line":401},{"class":"org.springframework.web.context.ContextLoader","method":"initWebApplicationContext","file":"ContextLoader.java","line":292},{"class":"de.hybris.platform.spring.HybrisContextLoaderListener","method":"doInitWebApplicationContext","file":"HybrisContextLoaderListener.java","line":219},{"class":"de.hybris.platform.spring.HybrisContextLoaderListener","method":"initWebApplicationContext","file":"HybrisContextLoaderListener.java","line":192},{"class":"org.springframework.web.context.ContextLoaderListener","method":"contextInitialized","file":"ContextLoaderListener.java","line":103},{"class":"de.hybris.platform.spring.HybrisContextLoaderListener","method":"contextInitialized","file":"HybrisContextLoaderListener.java","line":88},{"class":"org.apache.catalina.core.StandardContext","method":"listenerStart","file":"StandardContext.java","line":4697},{"class":"org.apache.catalina.core.StandardContext","method":"startInternal","file":"StandardContext.java","line":5163},{"class":"org.apache.catalina.util.LifecycleBase","method":"start","file":"LifecycleBase.java","line":183},{"class":"org.apache.catalina.core.ContainerBase","method":"addChildInternal","file":"ContainerBase.java","line":743},{"class":"org.apache.catalina.core.ContainerBase","method":"addChild","file":"ContainerBase.java","line":719},{"class":"org.apache.catalina.core.StandardHost","method":"addChild","file":"StandardHost.java","line":705},{"class":"org.apache.catalina.startup.HostConfig","method":"deployDescriptor","file":"HostConfig.java","line":614},{"class":"org.apache.catalina.startup.HostConfig$DeployDescriptor","method":"run","file":"HostConfig.java","line":1822},{"class":"java.util.concurrent.Executors$RunnableAdapter","method":"call","file":"Executors.java","line":515},{"class":"java.util.concurrent.FutureTask","method":"run","file":"FutureTask.java","line":264},{"class":"java.util.concurrent.ThreadPoolExecutor","method":"runWorker","file":"ThreadPoolExecutor.java","line":1128},{"class":"java.util.concurrent.ThreadPoolExecutor$Worker","method":"run","file":"ThreadPoolExecutor.java","line":628},{"class":"java.lang.Thread","method":"run","file":"Thread.java","line":834}]}}

It doesn't fail to build (and run) locally but I'm assuming an extension is missing. Any pointers?