zookeeper build environment to build

The current environment I'm using jdk 1.8

When you see the build successful when explained that it had successfully constructed during this period will download some tools and found that download is very slow, such as ivy-2.4.0.jar package, if the download is not down, you can manually download and then copied to him zookeeper-3.4.12 \ src \ java \ lib directory;

 

If the above error, clickable items of property, the level compiler compliance level is changed to 1.6 from 1.8

 

After 8 applications, there is no incorrect report; run QuorumPeerMain

Log4j error

Log4j.properties 9 can be copied to the src;

 

10 and then run QuorumPeerMain , continue error  

This time must be configured zoo.cfg, configuration is as follows :

To run; zoo.cfg which may be modified as appropriate parameters, such as the files stored inside datadir path must exist.

Guess you like

Origin www.cnblogs.com/yaowen/p/11505656.html