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

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

main:  allow-bean-definition-overriding: true

你可能感兴趣的:(java,spring,boot,后端,java)