You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "zhouzhihua (GitHub)" <gi...@apache.org> on 2019/04/17 08:41:26 UTC
[GitHub] [incubator-dubbo-spring-boot-project] zhouzhihua opened
issue #496: Dubbo Spring Boot 2.7.1 PropertyResolver Beans conflict in Spring
Boot, ref #495
env:
dubbo2.7.1
dubbo-spring-boot2.7.1
error:
***************************
APPLICATION FAILED TO START
***************************
Description:
Field propertyResolver in org.springframework.cloud.netflix.eureka.EurekaClientConfigBean required a single bean, but 2 were found:
- dubboScanBasePackagesPropertyResolver: defined by method 'dubboScanBasePackagesPropertyResolver' in class path resource [org/apache/dubbo/spring/boot/autoconfigure/DubboRelaxedBindingAutoConfiguration.class]
- environment: a programmatically registered singleton
[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/496 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-spring-boot-project] zhouzhihua commented
on issue #496: Dubbo Spring Boot 2.7.1 PropertyResolver Beans conflict in
Spring Boot, ref #459
Posted by "zhouzhihua (GitHub)" <gi...@apache.org>.
There is no need to add dubboScanBasePackagesPropertyResolver to bean context, new a instance will be ok.
[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/496 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org