java.lang.IllegalArgumentException: Cannot merge with object of type [class org.springframework.beans.factory.config.BeanDefinitionHolder]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Sam Brannen, 1 year ago
Cannot merge with object of type [class org.springframework.beans.factory.config.BeanDefinitionHolder]
via Spring JIRA by Sam Brannen, 1 year ago
Cannot merge with object of type [class org.springframework.beans.factory.config.BeanDefinitionHolder]
java.lang.IllegalArgumentException: Cannot merge with object of type [class org.springframework.beans.factory.config.BeanDefinitionHolder]
at org.springframework.beans.factory.support.ManagedList.merge(ManagedList.java:98)
at org.springframework.beans.factory.support.ManagedList.merge(ManagedList.java:1)
at org.springframework.beans.MutablePropertyValues.mergeIfRequired(MutablePropertyValues.java:221)
at org.springframework.beans.MutablePropertyValues.addPropertyValue(MutablePropertyValues.java:169)
at org.springframework.beans.MutablePropertyValues.addPropertyValues(MutablePropertyValues.java:138)
at org.springframework.beans.factory.support.AbstractBeanDefinition.overrideFrom(AbstractBeanDefinition.java:300)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1114)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1054)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1040)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:578)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:398)
at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
at com.example.MergedListTests.mergedList(MergedListTests.java:17)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.