最近有时间开始做点自己的事了,准备重新写一个博客系统,模仿 CSDN 那种的。

在使用 SpringBoot 的时候,创建好项目后,发现 SpringBoot 无法启动(启动后立即 shutdown 了)

Process finished with exit code 0,如图

idea springboot启动即退出问题!

 

解决方案:

解决方案很简单

只需要把spring-boot-starter-tomcat这个包去掉就可以了。springboot有内置的tomcat

idea springboot启动即退出问题!

 

相关文章:

  • 2022-12-23
  • 2021-05-02
  • 2021-10-29
  • 2022-12-23
  • 2021-08-16
  • 2021-06-15
  • 2021-09-20
猜你喜欢
  • 2021-04-02
  • 2021-05-09
  • 2021-08-08
  • 2022-12-23
  • 2021-06-02
  • 2021-11-07
  • 2022-01-13
相关资源
相似解决方案