三种启动方式 1、IntelliJ Idea 运行调试 2、项目目录mvn spring-boot:run 3、使用maven打包后,运行java -jar启动 转载于:https://www.cnblogs.com/fa-boy/p/7788917.html