You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bean 'dataSource', defined in class path resource [com/alibaba/druid/spring/boot/autoconfigure/DruidDataSourceAutoConfigure.class], could not be registered. A bean with that name has already been defined in class path resource [com/baomidou/dynamic/datasource/spring/boot/autoconfigure/DynamicDataSourceAutoConfiguration.class] and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
错误截图:
友情提示:
未按格式要求发帖、描述过于简单的,会被直接删掉;
描述问题请图文并茂,方便我们理解并快速定位问题;
如果使用的不是master,请说明你使用的分支;
The text was updated successfully, but these errors were encountered:
版本号:3.7.1
问题描述:
昨天刚拉取的3.7.1版本的代码,可以正常启动,今天启动后就报错,在spring里加入allow-bean-definition-overriding:true仍未解决
Description:
The bean 'dataSource', defined in class path resource [com/alibaba/druid/spring/boot/autoconfigure/DruidDataSourceAutoConfigure.class], could not be registered. A bean with that name has already been defined in class path resource [com/baomidou/dynamic/datasource/spring/boot/autoconfigure/DynamicDataSourceAutoConfiguration.class] and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
错误截图:
友情提示:
The text was updated successfully, but these errors were encountered: