Springboot 启动报错 The bean 'xxxx', defined in class path resource XXX
需要在application.yml配置文件中,spring下增加如下配置:
main:
allow-bean-definition-overriding: true
需要在application.yml配置文件中,spring下增加如下配置:
main:
allow-bean-definition-overriding: true