原创 spring boot的啓動方式

1.main方法啓動(配置tomcat啓動後,需要增加下面依賴,否則可以不需要增加) 1.增加依賴<dependency><groupId>org.springframework.boot</groupId><artifactId>spr