错误:找不到或加载主类config.zookeeper.properties [英] Error: Could not find or load main class config.zookeeper.properties

查看:121
本文介绍了错误:找不到或加载主类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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆