2016-09-28 131 views
0

開始hive我得到這個異常。請幫助我:蜂巢殼無法加載

Exception in thread "main" java.lang.ClassCastException: jdk.internal.loader.ClassLoaders$AppClassLoader (in module: java.base) cannot be cast to java.net.URLClassLoader (in module: java.base) 
    at org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:374) 
    at org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:350) 
    at org.apache.hadoop.hive.cli.CliSessionState.<init>(CliSessionState.java:60) 
    at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:663) 
    at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:641) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0([email protected]/Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke([email protected]/NativeMethodAccessorImpl.java:62) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke([email protected]/DelegatingMethodAccessorImpl.java:43) 
    at java.lang.reflect.Method.invoke([email protected]/Method.java:531) 
    at org.apache.hadoop.util.RunJar.run(RunJar.java:221) 
    at org.apache.hadoop.util.RunJar.main(RunJar.java:136) 

回答