zookeeper常见错误
1.在注册中心找不到对应的服务
这种错误是服务层代码没有成功注册到注册中心导致,请检查一下你的服务层代码是否添加了@service注解,并且该注解的包一定是com.alibaba.dubbo.config.annotation包,不是org.springframework.stereotype.Service,这个地方极容易出错.另外还有一个原因就是你的服务层工程由于某些原因没有正常启动,也无法注册到注册中心里.
2.无法连接到注册中心
请检查IP与端口是否填写正确,检查注册中心是否正常启动
java.lang.IllegalStateException: Failed to check the status of the service com.pinyougou.sellergoods.service.BrandService. No provider available for the service com.pinyougou.sellergoods.service.BrandService from the url zookeeper://192.168.25.129:2181/com.alibaba.dubbo.registry.RegistryService?application=pinyougou-manager-web&dubbo=2.8.4&interface=com.pinyougou.sellergoods.service.BrandService&methods=update,get,delete,selectOptionList,add,getListByPage&pid=3980&revision=0.0.1-SNAPSHOT&side=consumer×tamp=1501146823396 to the consumer 172.16.17.14 use dubbo version 2.8.4 |
最新文章
- mysql5.7安装
- adb 无法启动问题
- thinkphp语言包
- nodejs支持ssi实现include shtml页面
- PHP 小方法之 显示 今天 昨天 上周 上月 近三月 的时间
- Apache-Maven学习(转)
- Editable DataGrid 实现列表新增编辑功能
- 访问图片可以使用闭包map
- 回调函数的实现 &; 结构体的继承
- [原创]Postgres-XC集群笔记-概念与环境搭建
- python 在字典中添加键值对的方法。
- org.apache.commons.dbcp.DelegatingPreparedStatement.isClosed()Z和NewProxyPreparedStatement.isClosed()
- 【xsy2304】哈 最短路
- Linux交换空间和内存不足
- 循序渐进学.Net Core Web Api开发系列【11】:依赖注入
- Java 中 byte、byte 数组和 int、long 之间的转换
- django的流程分析
- [洛谷P2057][bzoj1934]善意的投票(最大流)
- 获取文件名称 basename 用法
- bzoj 2733 永无乡 线段树
热门文章
- c++中字符串反转的3种方法
- JUnit之参数化测试、套件/成组测试的使用
- linux用户 群组权限
- PKU 1226 Substrings(字符串匹配+暴搜KMP模板)
- css3有哪些新特性
- httpd sshd firewalld 很多服务后面的d是什么意思
- mongodb研究(mongodb 内存数据库)
- linq分析
- Nginx访问控制_IP访问控制(http_access_module)原理、局限性、解决方法讲解
- cl.exe 命令行编译sqlite3 sqlite3.dll及sqlite3.exe