您现在的位置是: 首页 > 运维 Zookeeper 找不到或无法加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain
Zookeeper 找不到或无法加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain
2020-05-22 【运维】 3684人已围观 6595次浏览
简介Zookeeper 找不到或无法加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain
之前在使用 Zookeeper 时,提示下面的报错
找不到或无法加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain
主要原因就是下载的文件不对导致的。
在 Zookeeper 官网下载文件时,需要注意的是下载的文件区别
https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.6.1/apache-zookeeper-3.6.1-bin.tar.gz
https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.6.1/apache-zookeeper-3.6.1.tar.gz
apache-zookeeper-x.x.x.tar.gz 只是源代码文件,无法直接使用,只有文件名中带 bin 的 apache-zookeeper-x.x.x-bin.tar.gz 才是可以直接运行的
该问题最常出现在 3.5.5 版本之前,比如 zookeeper-3.4.11.tar.gz ,最初的命名方式,很容易误解,然后下载回来的只是源代码,不是能直接运行的 bin 文件
很赞哦! (0)
相关文章
- nginx 出现 the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in 错误解决方案
- 迁移 Docker 目录
- LNMP定时备份任务教程(支持排除指定文件夹)
- CentOS 安装JDK
- CentOS 安装Node.js
- Linux no space left on device 出现设备上没有空间问题
- mysql 索引过长1071-max key length is 767 byte
- 解决443端口被VMWare Workstation占用
- 【Docker】unauthorized: incorrect username or password
- CentOS 安装 Docker
点击排行
- Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR DISABLE You can't write or read against a disable instance
- Debian apt 使用国内镜像
- RocketMQ 出现 sendDefaultImpl call timeout 问题
- 类 BASE64Decoder 程序包 sun.misc 找不到符号
- SpringBoot @NotBlank 不生效问题
- 记一次 Mybatis-Plus 自动填充无效问题解决
- SpringBoot 2.x 文件上传出现 The field file exceeds its maximum permitted size of 1048576 bytes
- nuxt 项目完整部署方案
站长推荐
猜你喜欢
- 类 BASE64Decoder 程序包 sun.misc 找不到符号
- Mac禁用Adobe Creative Cloud自启状态栏
- nginx 出现 the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in 错误解决方案
- win10 cmd下运行python命令弹出windows应用商店问题
- 解决443端口被VMWare Workstation占用
- LNMP 手动更新 SSL 证书
- Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR DISABLE You can't write or read against a disable instance
- SpringBoot 启动提示 Requested bean is currently in creation: Is there an unresolvable circular reference?
- SpringBoot 2.x 文件上传出现 The field file exceeds its maximum permitted size of 1048576 bytes
- Nestedset 出现 Node must exists. 错误解决方案