我可以成功启动spring-boot mvn spring-boot,文档提到优雅地退出应用程序命中ctrl-c.
Terminate batch job (Y/N)? Y
Run Code Online (Sandbox Code Playgroud)
maven进程终止,但Tomcat仍在运行,我仍然可以访问网页.当我尝试再次启动spring-boot时,它无法启动Tomcat,因为端口正在使用中.
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.1.0.BUILD-SNAPSHOT)
2014-05-02 …Run Code Online (Sandbox Code Playgroud)