Terminating mvn spring-boot:run doesn't stop tomcat

后端 未结 18 1385
别那么骄傲
别那么骄傲 2020-12-04 07:11

I can successfully start spring-boot with mvn spring-boot, the documentation mentions to gracefully exit the application hit ctrl-c.



        
18条回答
  •  清歌不尽
    2020-12-04 08:12

    I fall in the same issue, but there is a much better and simple way to run your Spring boot app that does not have this problem.

    Run As -> Java Application

    Update: Furthermore, if you use Spring STS (available for VS Code, IntelliJ, Eclipse...) you have the chance to manage your application from the Boot Dashboard. It's really useful.

提交回复
热议问题