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

前端 未结 6 1245
粉色の甜心
粉色の甜心 2021-02-04 03:11

(I\'m running on CentOS 5.8). I\'ve been following the direction for a Clustered (Multiserver) Zookeeper Set-up, but getting an error when I try to start up my server. When I ru

6条回答
  •  北荒
    北荒 (楼主)
    2021-02-04 03:54

    I got the same errors. I solved the error by check the README.md file in apache-zookeeper-[version].tar.gz Just type:

    mvn clean install -DskipTests
    

    then start the zookeeper. You will solve the error, too.

提交回复
热议问题