1、问题

使用命令

J:\zookeeper-3.4.8\bin>zkServer.cmd start

出现下面的问题:

2016-06-14 18:35:17,429 [myid:] - ERROR [main:ZooKeeperServerMain@54] - Invalidarguments, exiting abnormally
java.lang.NumberFormatException: For input string: "J:\zookeeper-3.4.8\bin\..\conf\zoo.cfg"


2、解决

解决的过程很简单,就是命令行中去除 start。尴尬

即直接使用zkServer.cmd命令启动:

J:\zookeeper-3.4.8\bin>zkServer.cmd

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐