hadoop启动出错:start-all.sh 求助 5
Exceptioninthread"main"java.lang.NoClassDefFoundError:start-all/shCausedby:java.lang....
Exception in thread "main" java.lang.NoClassDefFoundError: start-all/sh
Caused by: java.lang.ClassNotFoundException: start-all.sh
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: start-all.sh. Program will exit. 展开
Caused by: java.lang.ClassNotFoundException: start-all.sh
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: start-all.sh. Program will exit. 展开
展开全部
应该是命令写错了,这是你写的“ start-all/sh ”明明是start-all.sh
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你脚本调用的有问题,应该直接输入./start-all.sh
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |