文章目录 错误一览解决方案 错误一览 Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain 解决方案 因为在安装时,选用了 apache-zookeeper-{version}.tar.gz 包而不是 apache-zookeeper-{version}-bin.tar.gz 包,后面使用 apache-zookeeper-{version}-bin.tar.gz (文件名包含bin)重新安装后,可以解决问题。