Why does Spring Boot web app close immediately after starting?

后端 未结 10 2325
南笙
南笙 2021-02-18 15:57

Using STS, if I import the \"Rest Service\" Getting Started project using the latest Spring Boot and choose \"Run As Spring Boot App\", it starts up, t

10条回答
  •  说谎
    说谎 (楼主)
    2021-02-18 16:34

    Check the mvn log when you execute package phase ,and make sure that the tomcat-embed-core jar is assigned into you app jar.

提交回复
热议问题