Do not request a bean from a BeanFactory in a destroy method implementation!Disconnected from the ta
Disconnected from the target VM, address: ‘127.0.0.1:51937’, transport: ‘socket’Invocation of destroy method failed on bean with name ‘scopedTarget.eurekaClient’: org.springframework.beans.factory.Be.
·
Disconnected from the target VM, address: ‘127.0.0.1:51937’, transport: ‘socket’
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里面是否少导依赖包。
我是少导了web应用依赖包
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
更多推荐
已为社区贡献1条内容
所有评论(0)