Rakesh Komulwad created KAFKA-1608:
--------------------------------------

             Summary: Windows: Error: Could not find or load main class 
org.apache.zookeeper.server.quorum.QuorumPeerMain
                 Key: KAFKA-1608
                 URL: https://issues.apache.org/jira/browse/KAFKA-1608
             Project: Kafka
          Issue Type: Bug
          Components: core
    Affects Versions: 0.8.1.1
         Environment: Windows
            Reporter: Rakesh Komulwad
            Priority: Minor


When trying to start zookeeper getting the following error in Windows

Error: Could not find or load main class 
org.apache.zookeeper.server.quorum.QuorumPeerMain

Fix for this is to edit windows\kafka-run-class.bat

Change
set BASE_DIR=%CD%\..
to
set BASE_DIR=%CD%\..\..

Change
for %%i in (%BASE_DIR%\core\lib\*.jar)
to
for %%i in (%BASE_DIR%\libs\*.jar)




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to