java.lang.NoSuchMethodError: org.springframework.data.config.ParsingUtils.getObjectFactoryBeanDefinition(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition; Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

Spring JIRA | Niclas Söderström | 1 year ago
  1. 0

    Hi. I have the following setup in my Spring config: http://stackoverflow.com/questions/31367714/enablemongoauditing-for-mongodb-on-cloud-foundry-mongolab When using 1.7.0.RELEASE the applications starts fine locally and on CloudFoundry. However when I try to update to 1.71.RELEASE or 1.72.RELEASE I get the supplied stacktrace on CloudFoundry, works locally though. I should add that all my model files and mongo configuration files is in separate module/project, and the web application is it in its own module/project. Thanks in advance Niclas {code:java} ERROR: org.springframework.web.context.ContextLoader - Context initialization failed Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT java.lang.NoSuchMethodError: org.springframework.data.config.ParsingUtils.getObjectFactoryBeanDefinition(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition; Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport.registerBeanDefinitions(AuditingBeanDefinitionRegistrarSupport.java:63) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:151) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.mongodb.config.MongoAuditingRegistrar.registerAuditListenerBeanDefinition(MongoAuditingRegistrar.java:105) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:266) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:124) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.lang.Thread.run(Thread.java:745) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:353) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:318) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:151) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:94) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardContext SEVERE One or more listeners failed to start. Full details will be found in the appropriate container log file Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.mongodb.config.MongoAuditingRegistrar.registerBeanDefinitions(MongoAuditingRegistrar.java:75) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] SEVERE Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:124) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT java.lang.NoSuchMethodError: org.springframework.data.config.ParsingUtils.getObjectFactoryBeanDefinition(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition; Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.mongodb.config.MongoAuditingRegistrar.registerAuditListenerBeanDefinition(MongoAuditingRegistrar.java:105) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport.registerBeanDefinitions(AuditingBeanDefinitionRegistrarSupport.java:63) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:353) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:239) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:318) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.lang.Thread.run(Thread.java:745) {code}

    Spring JIRA | 1 year ago | Niclas Söderström
    java.lang.NoSuchMethodError: org.springframework.data.config.ParsingUtils.getObjectFactoryBeanDefinition(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition; Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  2. 0

    Hi. I have the following setup in my Spring config: http://stackoverflow.com/questions/31367714/enablemongoauditing-for-mongodb-on-cloud-foundry-mongolab When using 1.7.0.RELEASE the applications starts fine locally and on CloudFoundry. However when I try to update to 1.71.RELEASE or 1.72.RELEASE I get the supplied stacktrace on CloudFoundry, works locally though. I should add that all my model files and mongo configuration files is in separate module/project, and the web application is it in its own module/project. Thanks in advance Niclas {code:java} ERROR: org.springframework.web.context.ContextLoader - Context initialization failed Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT java.lang.NoSuchMethodError: org.springframework.data.config.ParsingUtils.getObjectFactoryBeanDefinition(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition; Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport.registerBeanDefinitions(AuditingBeanDefinitionRegistrarSupport.java:63) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:151) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.mongodb.config.MongoAuditingRegistrar.registerAuditListenerBeanDefinition(MongoAuditingRegistrar.java:105) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:266) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:124) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.lang.Thread.run(Thread.java:745) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:353) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:318) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:151) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:94) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardContext SEVERE One or more listeners failed to start. Full details will be found in the appropriate container log file Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.mongodb.config.MongoAuditingRegistrar.registerBeanDefinitions(MongoAuditingRegistrar.java:75) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] SEVERE Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:124) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT java.lang.NoSuchMethodError: org.springframework.data.config.ParsingUtils.getObjectFactoryBeanDefinition(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition; Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.mongodb.config.MongoAuditingRegistrar.registerAuditListenerBeanDefinition(MongoAuditingRegistrar.java:105) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport.registerBeanDefinitions(AuditingBeanDefinitionRegistrarSupport.java:63) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:353) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:239) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:318) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.lang.Thread.run(Thread.java:745) {code}

    Spring JIRA | 1 year ago | Niclas Söderström
    java.lang.NoSuchMethodError: org.springframework.data.config.ParsingUtils.getObjectFactoryBeanDefinition(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition; Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  3. 0

    Hi. I have the following setup in my Spring config: http://stackoverflow.com/questions/31367714/enablemongoauditing-for-mongodb-on-cloud-foundry-mongolab When using 1.7.0.RELEASE the applications starts fine locally and on CloudFoundry. However when I try to update to 1.71.RELEASE or 1.72.RELEASE I get the supplied stacktrace on CloudFoundry, works locally though. I should add that all my model files and mongo configuration files is in separate module/project, and the web application is it in its own module/project. Thanks in advance Niclas {code:java} ERROR: org.springframework.web.context.ContextLoader - Context initialization failed Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT java.lang.NoSuchMethodError: org.springframework.data.config.ParsingUtils.getObjectFactoryBeanDefinition(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition; Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport.registerBeanDefinitions(AuditingBeanDefinitionRegistrarSupport.java:63) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:151) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.mongodb.config.MongoAuditingRegistrar.registerAuditListenerBeanDefinition(MongoAuditingRegistrar.java:105) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:266) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:124) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.lang.Thread.run(Thread.java:745) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:353) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:318) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:151) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:94) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardContext SEVERE One or more listeners failed to start. Full details will be found in the appropriate container log file Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.mongodb.config.MongoAuditingRegistrar.registerBeanDefinitions(MongoAuditingRegistrar.java:75) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] SEVERE Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:124) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT java.lang.NoSuchMethodError: org.springframework.data.config.ParsingUtils.getObjectFactoryBeanDefinition(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition; Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.mongodb.config.MongoAuditingRegistrar.registerAuditListenerBeanDefinition(MongoAuditingRegistrar.java:105) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport.registerBeanDefinitions(AuditingBeanDefinitionRegistrarSupport.java:63) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:353) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:239) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:318) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.lang.Thread.run(Thread.java:745) {code}

    Spring JIRA | 1 year ago | Niclas Söderström
    java.lang.NoSuchMethodError: org.springframework.data.config.ParsingUtils.getObjectFactoryBeanDefinition(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition; Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport.registerBeanDefinitions(AuditingBeanDefinitionRegistrarSupport.java:63) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:151) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.springframework.data.mongodb.config.MongoAuditingRegistrar.registerAuditListenerBeanDefinition(MongoAuditingRegistrar.java:105) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:124) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi. I have the following setup in my Spring config: http://stackoverflow.com/questions/31367714/enablemongoauditing-for-mongodb-on-cloud-foundry-mongolab When using 1.7.0.RELEASE the applications starts fine locally and on CloudFoundry. However when I try to update to 1.71.RELEASE or 1.72.RELEASE I get the supplied stacktrace on CloudFoundry, works locally though. I should add that all my model files and mongo configuration files is in separate module/project, and the web application is it in its own module/project. Thanks in advance Niclas {code:java} ERROR: org.springframework.web.context.ContextLoader - Context initialization failed Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT java.lang.NoSuchMethodError: org.springframework.data.config.ParsingUtils.getObjectFactoryBeanDefinition(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition; Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport.registerBeanDefinitions(AuditingBeanDefinitionRegistrarSupport.java:63) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:151) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.mongodb.config.MongoAuditingRegistrar.registerAuditListenerBeanDefinition(MongoAuditingRegistrar.java:105) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:266) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:124) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.lang.Thread.run(Thread.java:745) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:353) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:318) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:151) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:94) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardContext SEVERE One or more listeners failed to start. Full details will be found in the appropriate container log file Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.mongodb.config.MongoAuditingRegistrar.registerBeanDefinitions(MongoAuditingRegistrar.java:75) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] SEVERE Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:124) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT java.lang.NoSuchMethodError: org.springframework.data.config.ParsingUtils.getObjectFactoryBeanDefinition(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition; Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.mongodb.config.MongoAuditingRegistrar.registerAuditListenerBeanDefinition(MongoAuditingRegistrar.java:105) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport.registerBeanDefinitions(AuditingBeanDefinitionRegistrarSupport.java:63) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:353) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:239) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:318) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.lang.Thread.run(Thread.java:745) {code}

    Spring JIRA | 1 year ago | Niclas Söderström
    java.lang.NoSuchMethodError: org.springframework.data.config.ParsingUtils.getObjectFactoryBeanDefinition(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition; Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport.registerBeanDefinitions(AuditingBeanDefinitionRegistrarSupport.java:63) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:151) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.springframework.data.mongodb.config.MongoAuditingRegistrar.registerAuditListenerBeanDefinition(MongoAuditingRegistrar.java:105) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:124) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727)
  6. 0

    Unexpected exception parsing XML document from class path resource - Spring Forum

    spring.io | 5 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [requesterElectronicInvoice.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.factory.support.BeanDefinitionBuilder.genericBeanDefinition(Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.springframework.data.config.ParsingUtils.getObjectFactoryBeanDefinition(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition; Wed Jul 29 2015 21:44:56 GMT+0100 (BST) [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

      at org.apache.catalina.core.StandardHost.addChild()
    2. Glassfish Core
      StandardHost.addChild
      1. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
      1 frame