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

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

main:
  allow-bean-definition-overriding: true
发布了92 篇原创文章 · 获赞 3 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/weixin_41231928/article/details/103314528