SpringBoot
SpringBoot学习笔记
点点行星
这个作者很懒,什么都没留下…
展开
-
SpringBoot扩展SpringMVC的配置
官方文档:Spring Boot FeaturesIf you want to keep those Spring Boot MVC customizations and make more MVC customizations (interceptors, formatters, view controllers, and other features), you can add your own @Configuration class of type WebMvcConfigurer but .原创 2021-05-16 00:23:36 · 178 阅读 · 0 评论 -
SpringBoot静态资源默认路径
按优先级排序,参考:org.springframework.boot.autoconfigure.web.WebProperties.Resourcesclasspath:/META-INF/resources/classpath:/resources/classpath:/static/classpath:/public/原创 2021-05-16 00:22:04 · 186 阅读 · 0 评论