Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
解决方法:
linux执行./zkServer start时启动zookeeper时失败,查看日志文件出现:Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
原因是我下载错了版本,下了apache-zookeeper-3.6.2.tar.gz,正确的是要下载apache-zookeeper-3.6.2-bin.tar.gz