apache / dubbo-spring-boot-project

Spring Boot Project for Apache Dubbo
https://dubbo.apache.org
Apache License 2.0
5.41k stars 1.88k forks source link

Problems of springboot Dubbo #732

Closed liduanwen closed 4 years ago

liduanwen commented 4 years ago

Hello, at present, we integrate springboot 2.3.1+ Dubbo 2.7.7, and we will report this error at present No registry config found or it's not a valid config! The registry config is: ,I read the source code, because application.yml The address of Dubbo's address was not loaded in。But when I introduce the dubbo-spring-boot-starter dependency, the problem is solved. Can you tell me the reason for the next block. thank you

mercyblitz commented 4 years ago

If you'd like to use Dubbo 2.7.x integrating with Spring Boot, please use @EnableDubbo and add some configurations like :

dubbo.application.name = app
...