mvn编译打包 先把命令行切换到Maven项目的根目录 编译 mvn clean compile 打包 mvn clean package 转载于:https://www.cnblogs.com/ggooo/p/11263011.html