curator KeeperErrorCode = Unimplemented异常

问题描述:
最近在玩Spring cloud 2.0,使用zookeeper最为注册中心,zookeeper的版本为3.4.11,工程依赖的curator版本为4.0.1,工程配置好启动报org.apache.zookeeper.KeeperException$UnimplementedException: KeeperErrorCode = Unimplemented for xxx 异常
查看curator官网发现如下信息:
Curator 4.0 has a hard dependency on ZooKeeper 3.5.x
If you are using ZooKeeper 3.5.x there’s nothing additional to do - just use Curator 4.0
所以问题很清楚.curator 4只支持zookeeper 3.5.x
升级zookeeper到3.5问题解决;
zookeeper 3.5一直都是beta,生产环境慎用;

你可能感兴趣的:(系统相关,JAVA)