今天在Springboot中配置WebMvcConfigurerAdapter的时候发现这个类过时了。所以看了下源码,发现官方在spring5弃用了

WebMvcConfigurerAdapter,因为springboot2.0使用的spring5,所以会出现过时。

但是这个问题也很好解决,我们只需要实现 WebMvcConfigurer接口就可以了。
Springboot2.0中WebMvcConfigurerAdapter过时问题处理
转载请务必保留此出处(原作者):https://blog.csdn.net/zhuzhezhuzhe1

相关文章:

  • 2021-10-09
  • 2021-10-27
  • 2022-12-23
  • 2022-01-18
  • 2021-07-17
  • 2022-01-01
  • 2022-12-23
猜你喜欢
  • 2021-10-10
  • 2021-11-28
  • 2022-01-11
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案