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!)

如下圖:

 

具體信息如下:

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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章