Referenced bean is not defined in bean definitions xml file

org.springframework.beans.factory.NoSuchBeanDefinitionException
Javadoc
Exception thrown when a {@code BeanFactory} is asked for a bean instance for which it cannot find a definition. This may point to a non-existing bean, a non-unique bean, or a manually registered singleton instance without an associated bean definition. @author Rod Johnson @author Juergen Hoeller @author Stephane Nicoll @see BeanFactory#getBean(String) @see BeanFactory#getBean(Class) @see NoUniqueBeanDefinitionException
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition
(source)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition
(source)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean
(source)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(source)
at org.springframework.context.support.AbstractApplicationContext.getBean
(source)
4 frames hidden

Typical Exception Messages

  1. No bean named 'springSecurityFilterChain' is defined
  2. No bean named 'cxf' is defined
  3. No bean named 'schedulerFireEventGateway' is defined
  4. No bean named 'sessionFactory' is defined
  5. <No message>
  6. No bean named 'mongoTemplate' is defined
  7. No bean named 'entityManagerFactory' is defined
  8. No bean named 'springSecurityFilterChain' available
  9. No bean named 'transactionManager' is defined
  10. No bean named 'jobLauncher' is defined

Specific cases

External results for this pattern (206)

  1. hantsyvia GitHub2 months ago
    No bean named 'notification.exchange' available
    Show stack trace
  2. lhch102via GitHub2 months ago
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'rCheckOrderAction' is defined
    Show stack trace
  3. DBlamirevia GitHub4 months ago
    No bean named 'AosAuthenticationFilter' is defined
    Show stack trace
  4. org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'com.compass.service.comparisoninfoLocalService' is defined
    Show stack trace
  5. No bean named 'springSecurityFilterChain' available
    Show stack trace
  6. Alejandro Sequeiravia MuleSoft JIRA5 months ago
    No bean named '[security-best-practices].security-best-practicesFlow.stage1' is defined
    Show stack trace
  7. madoarvia GitHub5 months ago
    No bean named 'repository' is defined
    Show stack trace
  8. GD_Javavia Stack Overflow5 months ago
    No bean named 'myService' available
    Show stack trace
  9. andyvia Stack Overflow5 months ago
    No bean named 'springSecurityFilterChain' is defined
    Show stack trace