0

I followed the instructions here, but when I try to start Kafka with this command I get an error:

kafka@vertica-2:~$ ~/kafka/bin/kafka-server-start.sh ~/kafka/config/server.properties

Error: Could not find or load main class .home.kafka.kafka.config.server.properties
skunkwerk
  • 2,920
  • 2
  • 37
  • 55
  • That is weird. The error indicates, that the script tries to use your server.properties file as a Java class. Can you debug the script by execution it via `bash -x ~/kafka/bin/kafka-server-start.sh ~/kafka/config/server.properties` and add the output to your question? – Matthias J. Sax Aug 03 '16 at 19:23
  • You can see your answer in [here](http://stackoverflow.com/a/38264396/6768729) – Farshad Dec 09 '16 at 09:51

2 Answers2

3

Make sure you downloaded the bin version, not the uncompiled source(unless you compile it yourself). This error will happen when trying to start the server from uncompiled source.

Ryan
  • 31
  • 1