jar -cvf news.war news war包放在Tomcat webApp中可以自动解压。 转载于:https://www.cnblogs.com/flying607/p/3446686.html