简体   繁体   English

Kafka 错误:无法找到或加载主类 .home.kafka.kafka.config.server.properties

[英]Kafka Error: Could not find or load main class .home.kafka.kafka.config.server.properties

I followed the instructions here , but when I try to start Kafka with this command I get an error:我按照此处的说明进行操作,但是当我尝试使用此命令启动 Kafka 时,出现错误:

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

Make sure you downloaded the bin version, not the uncompiled source(unless you compile it yourself).确保您下载的是 bin 版本,而不是未编译的源代码(除非您自己编译)。 This error will happen when trying to start the server from uncompiled source.尝试从未编译的源代码启动服务器时会发生此错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM