一:IDE 运行Application这个类的main方法二:在springboot的应用的根目录下运行mvn spring-boot:run三:使用mvn install 生成jar后运行先到项目根目录mvn installcd targetjava -jar xxxx.jar