SpringBoot中设置ViewController时WebMvcConfigurerAdapter过时的问题
SpringBoot中设置ViewController时WebMvcConfigurerAdapter过时的问题
在Spring Boot 中设置默认首页时,好多教程用的都是过时的WebMvcConfigurerAdapter,作为替代方法,大致上分为以下两种。
1.使用WebMvcConfigurationSupport
WebMvcConfigurationSupport应该是SpringBo...
原创
2019-11-28 17:17:30 ·
575 阅读 ·
0 评论