Exception in thread "main" org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server 'localhost:2181,localhost:2182,localhost:2183' with timeout of 10000 ms
at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:1233)
at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:157)
at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:131)
at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:98)

at zook.zook.App.main(App.java:17)


没有开zookeeper

解决办法:打开 zookeeper-3.4.10 -1\bin\zkServer.cmd

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐