springBoot 启动就停止
1丶错误原因
2丶解决方案
少个jar包 引入 spring-boot-starter-web 就可以了
<dependency> <groupId> org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>
解决地址:https://blog.csdn.net/dzx_2016/article/details/85239719