在maven 搭建的项目下 建立lib文件夹 在cmd 中 进入到 pom.xml所在目录 执行 mvn dependency:copy-dependencies -DoutputDirectory=lib 所有jar包会打在lib下