Apache Kafka error on windows - Couldnot find or load main class QuorumPeerMain

后端 未结 14 818
盖世英雄少女心
盖世英雄少女心 2020-12-05 07:47

I just downloaded Kafka 2.8.0 from Apache website, and I am trying to setup using the instructions given on the website. But when I try to start zookeper server, I am gettin

14条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-05 08:26

    Had the same error message even though I had the correct Kafka download for my Scala version.

    It ended up I was running the non-windows sh file (needed to run the bat in the windows sub-folder) and was running from within the bin folder instead of the root. Moving up to the root Kafka folder and running from there appears to have worked.

    C:\kafka_2.10-0.8.2.0>bin\windows\zookeeper-server-start.bat config\zookeeper.properties

提交回复
热议问题