- 博客(2)
- 收藏
- 关注
原创 WebMvcConfigurationSupport引起的日期格式变化
EnableWebMvc+extends WebMvcConfigurerAdapter,在扩展的类中重写父类的方法即可,这种方式会屏蔽springboot的@EnableAutoConfiguration中的设置。extends WebMvcConfigurationSupport,在扩展的类中重写父类的方法即可,这种方式会屏蔽springboot的@EnableAutoConfiguration中的设置。解决方案为:个人用的第三种,直接替换为WebMvcConfigurerAdapter。
2023-04-23 14:58:26
268
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人