摘要: Spring MVC auto-configuration Spring Boot 自动配置好了SpringMVC 以下是SpringBoot对SpringMVC的默认配置:==(WebMvcAutoConfiguration)== Inclusion of ContentNegotiatingVi 阅读全文
posted @ 2020-06-07 14:15 linux——quan 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 1)、创建SpringBoot应用,选中我们需要的模块; 2)、SpringBoot已经默认将这些场景配置好了,只需要在配置文件中指定少量配置就可以运行起来 3)、自己编写业务代码; 文件名的功能 xxxxAutoConfiguration:帮我们给容器中自动配置组件; xxxxProperties 阅读全文
posted @ 2020-06-07 10:36 linux——quan 阅读(205) 评论(0) 推荐(0) 编辑