Apache Storm Nimbus Error: Could not find or load main class

廉价感情. 提交于 2019-12-22 11:00:02

问题


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.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

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

Any ideas?


回答1:


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

For example: C:\Program Files\Java\jdk1.6.0_45 ==> C:\PROGRA~1\Java\jdk1.6.0_45



来源:https://stackoverflow.com/questions/38608271/apache-storm-nimbus-error-could-not-find-or-load-main-class

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!