Error creating bean with name 'eurekaAutoServiceRegistration': Singleton bean creation not 的解决办法

问题概述

在项目中使用 Spring Boot + Spring Cloud 进行开发的,在集成Eureka注册中心时报错,项目启动不起来,“ Error creating bean with name 'eurekaAutoServiceRegistration': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)

如下图:

Error creating bean with name 'eurekaAutoServiceRegistration': Singleton bean creation not 的解决办法_第1张图片

 

具体信息如下:

org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eurekaAutoServiceRegistration': Singleton bean creation not allowed while singletons of this factory are in destruction (Do no

你可能感兴趣的:(Spring,Cloud,进阶之路)