Fahri Dzaky
Fahri Dzaky

Reputation: 27

Error Classpath is empty. Please build the project first e.g. by running apache kafka

i was following this step to download apache kafka into my device windows https://www.confluent.io/blog/set-up-and-run-kafka-on-windows-linux-wsl-2/

but when i did this bin/zookeeper-server-start.sh config/zookeeper.properties

i always stuck with this error Error Classpath is empty. Please build the project first e.g.

where my wrong at?

Upvotes: 1

Views: 8616

Answers (3)

Madhura Maddipatla
Madhura Maddipatla

Reputation: 23

For wilndows commands we need put . represents current directory

.\bin\windows\kafka-server-start.bat .\config\server.properties

Upvotes: 0

erptocoding
erptocoding

Reputation: 383

check the space between directories where you have downloaded your kafka. Remove space and run again

Upvotes: 1

OneCricketeer
OneCricketeer

Reputation: 191711

Sounds like you might have downloaded the Kafka sources (labeled src) rather than the binaries

Download the binary link for the desired Kafka version from here: https://kafka.apache.org/downloads

Upvotes: 8

Related Questions