标签:文件 bean creat 启动 enc pid nta 解决 except
项目启动报错问题:
Invocation of destroy method failed on bean with name ‘scopedTarget.eurekaClient‘: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name ‘eurekaInstanceConfigBean‘: 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!)
解决方法,在pom文件中增加以下依赖
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>
Invocation of destroy method failed on bean with name ‘XXXX’
标签:文件 bean creat 启动 enc pid nta 解决 except
原文地址:https://www.cnblogs.com/lifuhei/p/9944694.html