Support Questions

Find answers, ask questions, and share your expertise

Kafka Error: Could not find or load main class kafka.Kafka . Please help

New Contributor
 
2 REPLIES 2

Expert Contributor

Could you explain us what command you have executed, or program you have written, or copy-paste some part of the logs? It is very difficult to help with so few information

I think you are facing this problem while starting the kafka broker, could you please check kafka-run-class.sh script what scala version it is currently using and also share the output of "bash -x kafka-server-start.sh"

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.