Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1608

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.8.1.1
    • None
    • core
    • Windows

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            rakesh.komulwad Rakesh Komulwad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: