zookeeper启动错误:Invalid config, exiting abnormally

zookeeper启动错误:Invalid config, exiting abnormally 原因是在conf下面的zoo.cfg写配置时候,server

zookeeper启动错误:Invalid config, exiting abnormally

原因是在conf下面的zoo.cfg写配置时候,server.x=x.x.x.x:x:x 后面多了空格。

解决方案:删除多余空格即可。