在启动SpringBoot时后台日志没有报出任何异常或者错误然后就自动停止了,启动日志如下:

SpringBoot启动后不报任何错误自动停止

查看红框框出来的日志时西东shutdown了,解决方法如下:

在maven的pom文件里面加入依赖:

<dependency>

     <groupId>org.springframework.boot</groupId>

     <artifactId>spring-boot-starter-web</artifactId>

</dependency>

重新编译部署,问题解决。

相关文章:

  • 2022-12-23
  • 2021-09-17
  • 2022-01-29
  • 2022-12-23
  • 2022-01-26
  • 2021-07-24
  • 2022-12-23
  • 2021-10-19
猜你喜欢
  • 2022-02-01
  • 2021-12-30
  • 2021-06-02
  • 2021-06-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案