这个问题怎么解决apache/hadoop/hive/service/HiveInterface at org.apache.hadoop.hive.jdbc.HiveDriver.connect(HiveDriver.java:107)

天池番薯 发布于 2015/10/29 17:00
阅读 1K+
收藏 0
 java.lang.NoClassDefFoundError: org/apache/hadoop/hive/service/HiveInterface
at org.apache.hadoop.hive.jdbc.HiveDriver.connect(HiveDriver.java:107)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at cn.itcas.hive.udf.HiveJdbcClient2.main(HiveJdbcClient2.java:23)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.service.HiveInterface
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 4 more


加载中
返回顶部
顶部