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>

猜你喜欢

转载自blog.csdn.net/z19799100/article/details/106888135