1.打包 1.将需要打包的代码放到 src/ main/ java下 2.打开maven面板 3.点击package 就开始打包了 3.查看生成的jar 包 2.使用 在pom.xml中加入依赖3.结束 相关文章: