alibaba / dubbo-spring-boot-starter

Dubbo Spring Boot Starter
Apache License 2.0
2.1k stars 746 forks source link

节点无法注册到zookeeper中 #16

Closed tkz2020 closed 7 years ago

tkz2020 commented 7 years ago

spring: dubbo: appname: spring-boot-starter-dubbo-provider-test registry: zookeeper://127.0.0.1:2181?backup=127.0.0.1:2182,127.0.0.1:2183 protocol: dubbo 我的springboot的配置是这样的,但是节点一直没有注册成功,导致服务不可用,这是为什么呢?

tkz2020 commented 7 years ago

问题已经解决,少加了一个spring的注解,导致没有扫描到没有注册节点信息到zookeeper中。

xionghuiCoder commented 7 years ago

FYI

TriMea commented 6 years ago

缺少了哪个spring注解,请明示