The bean 'dubboConfigConfiguration.Single', defined in null, could not be registered
OS: Windows 10 JDK: 1.8 Dubbo: 2.7.1 Dubbo-Starter: 2.7.0
APPLICATION FAILED TO START
Description:
The bean 'dubboConfigConfiguration.Single', defined in null, could not be registered. A bean with that name has already been defined in null and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
@mercyblitz
spring.properties set spring.main.allow-bean-definition-overriding=true
Did you use Spring Boot 2.1.0?
Spring Boot 2.1.3
I had the same problem. Then i remove @EnableDubbo annotation. it's OK
I had the same problem
I also have the same problem, when i change the dubbo's version from 2.7.0 to 2.7.1 (because the dubbo-2.7.0 has a bug "incubator-dubbo/issues/3555" which be fix on 2.7.1),then i think maybe the dubbo-starter shuld be alse 2.7.1, but i cannot use the dubbo-starter-2.7.1(the dependency will not be found)
Did you try to add property spring.properties set spring.main.allow-bean-definition-overriding=true ?
See https://github.com/apache/incubator-dubbo/issues/3193