错误:无法找到或加载主类 config.zookeeper.properties [英] Error: Could not find or load main class config.zookeeper.properties
问题描述
我正在尝试使用 Apache Kafka 执行示例生产者消费者应用程序.我从 https://www.apache.org/dyn/closer.cgi?path=/kafka/0.10.0.0/kafka-0.10.0.0-src.tgz.然后我开始按照 http 中给出的步骤://www.javaworld.com/article/3060078/big-data/big-data-messaging-with-kafka-part-1.html.
I am trying to execute a sample producer consumer application using Apache Kafka. I downloaded it from https://www.apache.org/dyn/closer.cgi?path=/kafka/0.10.0.0/kafka-0.10.0.0-src.tgz . Then I started following the steps given in http://www.javaworld.com/article/3060078/big-data/big-data-messaging-with-kafka-part-1.html.
当我尝试运行 bin/zookeeper-server-start.sh config/zookeeper.properties 时,出现错误:无法找到或加载主类 config.zookeeper.properties 我用谷歌搜索了一下问题,但没有得到任何有用的信息.有人能帮我继续吗?
When I tried to run bin/zookeeper-server-start.sh config/zookeeper.properties, I am getting Error: Could not find or load main class config.zookeeper.properties I googled about the issue but didn't get any useful information on this. Can anyone help me to continue?
推荐答案
您已经下载了源包.下载Kafka 并进行测试.
You've downloaded the source package. Download the binary package of Kafka and do testing.
这篇关于错误:无法找到或加载主类 config.zookeeper.properties的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!