码上敲享录 > Zookeeper常见问题解答 > Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain

Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain

章节目录下一章 2021-03-08已有2210人阅读 评论(0)

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


0

有建议,请留言!

  • *您的姓名:

  • *所在城市:

  • *您的联系电话:

    *您的QQ:

  • 咨询问题:

  • 提 交