(Do not request a bean from a BeanFactory in a destroy method implementation!)
异常: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!)2021-09-27 15:02:46.662 [main]
·
异常: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!)
2021-09-27 15:02:46.662 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - NglifeMessage[3, claim-server-hangup, org.springframework.context.support.AbstractApplicationContext:refresh, Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat]
2021-09-27 15:02:47.199 [AsyncReporter{org.springframework.cloud.sleuth.zipkin2.sender.RestTemplateSender@70ab80e3}] WARN o.s.c.a.AnnotationConfigApplicationContext - NglifeMessage[3, claim-server-hangup, org.springframework.context.support.AbstractApplicationContext:refresh, Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ribbonClientConfiguration': Unsatisfied dependency expressed through field 'propertiesFactory'; nested exception is org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'propertiesFactory': 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!)]
2021-09-27 15:02:47.226 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener - NglifeMessage[2, claim-server-hangup, org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener:logMessage,
解决办法
————————————————
原文链接:https://blog.csdn.net/andwd/article/details/110327796
更多推荐
已为社区贡献2条内容
所有评论(0)