今天在Springboot中配置WebMvcConfigurerAdapter的时候发现这个类过时了。
WebMvcConfigurerAdapter,因为springboot2.0使用的spring5,所以会出现过时。

但是这个问题也很好解决,我们只需要实现 WebMvcConfigurer接口就可以了
-WebMvcConfigurerAdapter过期,WebMvcConfigurationSupport访问不到静态资源

相关文章:

  • 2021-12-26
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
  • 2021-11-20
  • 2021-11-20
  • 2021-11-20
  • 2021-11-20
猜你喜欢
  • 2022-12-23
  • 2021-12-11
  • 2021-11-20
  • 2021-07-29
  • 2022-02-06
  • 2021-08-11
相关资源
相似解决方案