1.run 2.mvn spring-boot:run 3.mvn clean package Dmaven.test.skip(跳过测试类,打包项目所需的jar包) 在target目录下,Java -jar 包名.jar