Hi savale, Please check whether you have zookeeper jar in the classpath.
Also, I could see "zookeeper-server-start.bat" is kafka command and I feel the right place to discuss this is in the kafka community [email protected], [email protected] -Rakesh -----Original Message----- From: savalemilind [mailto:[email protected]] Sent: 21 January 2014 14:57 To: [email protected] Subject: How to start the zookeeper on window7 Hi, I new guy in kafka family. I am trying to start the zookeeper server but i m getting following error. D:\kafka_2.8.0-0.8.0\bin\windows>zookeeper-server-start.bat d:\kafka_2.8.0-0.8.0\config\zookeeper.properties D:\kafka_2.8.0-0.8.0\bin\windows\.. Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/zookeeper/server/quorum/QuorumPeerMain Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.server.quorum.QuorumPeerMain at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) Could not find the main class: org.apache.zookeeper.server.quorum.QuorumPeerMain. Program will exit. D:\kafka_2.8.0-0.8.0\bin\windows> Please helpme. -- View this message in context: http://zookeeper-user.578899.n2.nabble.com/How-to-start-the-zookeeper-on-window7-tp7579522.html Sent from the zookeeper-user mailing list archive at Nabble.com.
