Tag Archives: org.apache.zookeeper.server.quorum.QuorumPeerMain

[Solved] Error: unable to find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain

About zoomeeper decompressing the compressed package in windows, an error occurs when starting zoomeeper

Error: unable to find or load main class org apache.zookeeper.server.quorum.QuorumPeerMain

Eliminate the data path problem. The error is that the class package cannot be found and the jar package folder lib is missing

To solve the problem, first configure the directory where the configuration file data is stored, and copy and modify it in the conf folder

Modify data path

The key to error reporting is

The first one has no lib files. You need to unzip the second one, copy and paste lib into the zookeeper directory where the first one is unzipped.