I faced same exception and it turned out that it was version issue of zookeeper. We are using maven and one of child dependency reference another version of zookeeper which caused the issue. You can check dependency hierarchy in eclipse to be sure that this is not the issue.
On Tue, Sep 23, 2014 at 4:32 AM, Jiang Jacky <jiang0...@gmail.com> wrote: > Hi, Guys > I am trying to run the test from my local cluster, but I get the exception > java.lang.ClassNotFoundException: > org.apache.zookeeper.server.NIOServerCnxnFactory > > I have read some articles, it seems the version of zookeeper and storm, > but I am using the latest version of zookeeper(3.4.5) and latest version of > storm (0.9.2) it still doesn't work. > > Can someone share some experience? > Thanks > -- Regards, Vikas Agarwal 91 – 9928301411 InfoObjects, Inc. Execution Matters http://www.infoobjects.com 2041 Mission College Boulevard, #280 Santa Clara, CA 95054 +1 (408) 988-2000 Work +1 (408) 716-2726 Fax