dubbo问题

1.dubbo启动异常,提供者未暴露服务

provider未提供配置
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loanQuotaRecoverOrdersInterface':
Cannot resolve reference to bean '0' while setting bean property 'registry'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean named '0' is defined
新增接口添加provider

没有扫描到loanQuotaRecoverOrdersInterfaceImpl服务:实现类没有添加注解
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.qsc.loan.service.LoanQuotaRecoverOrdersInterface': Cannot resolve reference to bean 'loanQuotaRecoverOrdersInterfaceImpl' while setting bean property 'ref'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'loanQuotaRecoverOrdersInterfaceImpl' is defined


2.调用本地dubbo服务:

url="dubbo://127.0.0.1:20552"

3.dubbo启动,zookeeper内存不足,导致启动失败

[2018-08-10 13:16:39,637] -[INFO] org.apache.zookeeper.ClientCnxn$SendThread.logStartConnect(ClientCnxn.java:1032) Opening socket connection to server 192.168.0.18/192.168.0.18:2181. Will not attempt to authenticate using SASL (unknown error)
[2018-08-10 13:16:40,708] -[WARN] org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1162) Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information

posted @ 2018-07-09 15:15  anjunshuang  阅读(437)  评论(0编辑  收藏  举报