java.lang.NoSuchMethodError: org.springframework.beans.factory.support.Be anDefinitionReader.getBeanFactory()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry ;

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Terracotta by deepan, 1 year ago
org.springframework.beans.factory.support.Be anDefinitionReader.getBeanFactory()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry ;
java.lang.NoSuchMethodError: org.springframework.beans.factory.support.Be anDefinitionReader.getBeanFactory()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry ;
at com.tcspring.BeanDefinitionProtocol.captureIdentity(BeanDefinitionProtocol.java:45)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader_1_727303773_1848315241___AW_JoinPoint.invoke(Unknown Source)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
at org.springframework.context.support.AbstractXmlApplicationContext.aw$original$_AW_$loadBeanDefinitions$_AW_$org_springframework_context_support_AbstractXmlApplicationContext(AbstractXmlApplicationContext.java:114)
at org.springframework.context.support.AbstractXmlApplicationContext_1__1756345013_1470989579___AW_JoinPoint.invoke(Unknown Source)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java)
at org.springframework.context.support.AbstractXmlApplicationContext.aw$original$_AW_$loadBeanDefinitions$_AW_$org_springframework_context_support_AbstractXmlApplicationContext(AbstractXmlApplicationContext.java:81)
at com.tcspring.BeanDefinitionProtocol.collectDefinitions(BeanDefinitionProtocol.java:77)
at org.springframework.context.support.AbstractXmlApplicationContext_1_1698281887_650576753___AW_JoinPoint.proceed(Unknown Source)
at org.springframework.context.support.AbstractXmlApplicationContext_1_1698281887_650576753___AW_JoinPoint.invoke(Unknown Source)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:126)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:419)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:349)
at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
at com.bt.cmps.domains.test.TestSegmentationDAO.main(TestSegmentationDAO.java:66)

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.

Write tip

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