如果是web工程就打成war包 如果是java工程就打成jar包 tip:war包只要放进webapps ,tomcat就会自动将其解压并发布
Maven笔记
原文:https://www.cnblogs.com/czy16/p/9261093.html