Why does Spring Boot web app close immediately after starting?

后端 未结 10 2365
南笙
南笙 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:41

    All the answers suggested that tomcat is missing from it. in my case it was tagged in my pom with provided which I think i did it as i would need to run my application on another App server later. So yes that was the issue for me just another version of the same problem.

提交回复
热议问题