线程“main”中的异常java.lang.NullPointerException(hbase)

时间:2015-10-22 02:49:13

标签: hbase

我有我的hbase + hadoop集群,当我使用hbase api访问hbase时,everthing是可以的。但是,当我使用jar命令打包类文件时,发生了错误的事情。我该怎么办?     线程“main”java.lang.NullPointerException中的异常     在org.apache.hadoop.conf.Configuration.getResource(Configuration.java:1862)     在org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2047)     在org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2001)     在org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1918)     在org.apache.hadoop.conf.Configuration.get(Configuration.java:721)     在org.apache.hadoop.conf.Configuration.getTrimmed(Configuration.java:740)     在org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1093)     在org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:69)     在org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:105)     在org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:120)     在geoDatasDAO。(geoDatasDAO.java:49)     在geoDatasTool.main(geoDatasTool.java:220)

0 个答案:

没有答案