Springboot 启动报错 The bean 'xxxx', defined in class path resource XXX

 

需要在application.yml配置文件中,spring下增加如下配置:

Springboot 启动报错 The bean 'xxxx', defined in class path resource XXX_第1张图片

main:
  allow-bean-definition-overriding: true

 

 

你可能感兴趣的:(错误解决)