The bean 'datasource', defined in beandefinition spring.Main.Allow-bean-definition-overriding=true
Answers
Answered by
0
A bean with that name has already been defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class] and overriding is disabled. Action: Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true.
Similar questions