Spring boot 学习

这个是spring boot的目录,少了很多的配置,不需要web.xml,spring-mvc.xml.而且少了一些配置。

启动Springboot的主函数,不需要tomcat了,直接启动main()函数就可以,Springboot内嵌了tomcat。

application.yml里配置这些。

也简化了很多。

这个是spring boot的目录,少了很多的配置,不需要web.xml,spring-mvc.xml.而且少了一些配置。

启动Springboot的主函数,不需要tomcat了,直接启动main()函数就可以,Springboot内嵌了tomcat。

application.yml里配置这些。

也简化了很多。