类路径为空.请先构建项目 [英] classpath is empty. please build the project first

查看:19
本文介绍了类路径为空.请先构建项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在 Windows 机器上运行 Kafka,当我尝试启动 zookeeper 时,我遇到了这个奇怪的错误:

I was trying to run Kafka on Windows machine and when I try to start the zookeeper I am facing this weird error:

类路径为空.请先构建项目,例如通过运行gradlew jarall"

classpath is empty. please build the project first e.g. by running 'gradlew jarall'

推荐答案

如果其他人遇到此问题:

If anyone else is facing this issue:

  • 注意:不要从 appache kafka 下载源文件,下载二进制文件
  • 从这里下载 Kafka:链接
  • 还可以按照此链接了解更多信息
  • 还有一些其他信息
  • Note: Do not download a source files from appache kafka, download a binary file
  • Download Kafka from here: Link
  • Also follow this link for any additional information
  • Also this group has some additional information

这篇关于类路径为空.请先构建项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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