org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'neo4jTemplate': Requested bean is currently in creation: Is there an unresolvable circular reference?

Google Groups | maximus chen | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    dubbo provicer.xml加载异常 循环依赖。

    Google Groups | 3 years ago | maximus chen
    org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'neo4jTemplate': Requested bean is currently in creation: Is there an unresolvable circular reference?

    Root Cause Analysis

    1. org.springframework.beans.factory.BeanCurrentlyInCreationException

      Error creating bean with name 'neo4jTemplate': Requested bean is currently in creation: Is there an unresolvable circular reference?

      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.beforeSingletonCreation()
    2. Spring Beans
      DefaultListableBeanFactory.findAutowireCandidates
      1. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.beforeSingletonCreation(DefaultSingletonBeanRegistry.java:327)
      2. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:217)
      3. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
      5. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:917)
      5 frames