我对Spring非常陌生,我刚刚创建了一个小型的spring启动mvc web应用程序作为一个jar。
Web Application Manager,可以在其中停止或取消部署/删除?java -jar myFile.jar?任何帮助都是非常感谢的!

发布于 2016-07-03 08:48:13
- Nope. There isn't and you actually don't need one. As mentioned in comment by Shankar [do read this question](https://stackoverflow.com/questions/25995635/can-i-enable-the-tomcat-manager-app-for-spring-boots-embedded-tomcat).
- You don't upload you `myFile.jar` application to tomcat, spring-boot has embedded Tomcat server. When you run `java -jar myFile.jar` sringboot apliication starts this embedded tomcat server and runs your application in it.
- You can simply kill the `java -jar myFile.jar` process by pressing `Ctlr + C`.
- Each Springboot application has its own embedded tomcat server, so this is N/A.
现在,如果您想在独立的Tomcat服务器中部署您的春季引导应用程序,您可以看到GUI、应用程序管理器、启动/停止等,请创建一个WAR文件,而不是JAR。 阅读这个关于将jar转换为war的指南。简而言之,创建一个WAR文件可以回答您的所有问题。
https://stackoverflow.com/questions/38165350
复制相似问题