今天 编译之后 在测试的时候出现了一个异常
com.alibaba.dubbo.rpc.RpcException:
Forbid consumer 10.153.91.155 access service
com.haier.ois.dbstockservice.service.SystemTo3wCbsService
from registry 127.0.0.1:2181 use dubbo version 2.5.4.2-interconn-1.0.0-SNAPSHOT,
Please check registry access list (whitelist/blacklist).
最后经过研究 .rpc.RpcException: 大部分都是因为 没有找到DUBBO你要调用的功能
今天这个原因是因为 配置DUBBO的时候
<dubbo:reference retries="0" interface="xxxxx.SystemTo3wCbsService" id="systemTo3wCbsService" timeout="8000" check="false"/>
<dubbo:reference retries="0" interface="xxxxx.SystemTo3wCbsService" id="systemTo3wCbsService" version="1.0.0" timeout="8000" check="false"/>没有加上version..版本号