我正在重新编写我的代码,以便能够使用Spring data JPA。当我运行我的代码时,返回了这个错误: at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:212) at
错误:
在名为“while edTarget.eurekaClient”的bean上调用破坏方法失败: org.springframework.beans.factory.BeanCreationNotAllowedExceptions.c.a.CommonAnnotationBeanPostProcessor : Invocation of destroy method failed on bean with name 'scopedTarget.eurekaClient': org.springframework.beans.factory.
eurekaRibbonClientConfiguration': Unsatisfied dependency expressed through field 'clientConfig'; org.springframework.beans.factory.BeanCreationNotAllowedException
org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-4) Destroy method on bean with name '(inner bean)' threw an exception: org.springframework.beans.factory.BeanCreationNotAllowedException