Apache Storm Nimbus 错误:无法找到或加载主类 [英] Apache Storm Nimbus Error: Could not find or load main class

查看:37
本文介绍了Apache Storm Nimbus 错误:无法找到或加载主类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在尝试为本地开发 Windows 7 工作站启动 Storm nimbus 时遇到以下错误:错误:无法找到或加载主类 Files\Java\jdk1.8.0_92\bin;C:\Program

I'm getting the following error trying so start storm nimbus for a local dev Windows 7 workstation: Error: Could not find or load main class Files\Java\jdk1.8.0_92\bin;C:\Program

storm.yaml:

storm.yaml:

storm.zookeeper.servers:
    - "127.0.0.1"

nimbus.seeds: ["127.0.0.1"]
storm.local.dir: "C:\\Users\\userX\\Apps\\ApacheStorm\\apache-storm-1.0.1\\data"
supervisor.slots.ports:
    - 6700
    - 6701
    - 6702
    - 6703

我成功启动了 ZooKeeper.但是当我尝试运行:storm nimbus from the Storm bin 文件夹时,我收到错误消息.

I successfully started ZooKeeper. But when I try to run: storm nimbus from the Storm bin folder I get the error.

有什么想法吗?

推荐答案

在系统变量的路径中使用 PROGRA~1 而不是 程序文件.

Use PROGRA~1 instead of Program files in System variables' path.

例如:<代码>C:\Program Files\Java\jdk1.6.0_45 ==>C:\PROGRA~1\Java\jdk1.6.0_45

这篇关于Apache Storm Nimbus 错误:无法找到或加载主类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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