A bean with that name has already been defined in class path resource(bean名字重复报错解决)
报错信息
The bean 'jsonCustomizer', defined in class path resource [com/study/learn/test/config/WebMvcConfig.class], could not be registered. A bean withthat name has already been defined in class path resource [com/study/learn/test/config/DateTimeOutConfig.class] and overriding is disabled.
Action:Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
A bean with that name has already been defined in class path resource(bean名字重复报错解决)
A bean with that name has already been defined in class path resource(bean名字重复报错解决)报错信息The bean 'jsonCustomizer', defined in class path resource [com/study/learn/test/config/WebMvcConfig.class], could not be registered. A bean with that name has alread