Loading
0

Java项目中连接zookeepr失败的问题

zookeepr连接报下面错误:

Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error)

项目启动时加入下面代码修改属性:

System.setProperty("zookeeper.sasl.client", "false");

最后编辑于:2021/8/9作者: 编程小战

我不入地狱,谁入地狱?

评论已关闭