Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
NoClassDefFoundError:无法初始化类org.apache.hadoop.hbase.ipc.RemoteWithExtrasexException$ClassLoaderHolder_Hbase - Fatal编程技术网

NoClassDefFoundError:无法初始化类org.apache.hadoop.hbase.ipc.RemoteWithExtrasexException$ClassLoaderHolder

NoClassDefFoundError:无法初始化类org.apache.hadoop.hbase.ipc.RemoteWithExtrasexException$ClassLoaderHolder,hbase,Hbase,使用2.0.2 hbase客户端版本。 初始化ClassLoaderHolder时在第79行失败 这可能是什么原因呢。ClassLoaderHolder静态块有什么问题吗 static { ClassLoader parent = RemoteWithExtrasException.class.getClassLoader(); Configuration conf = HBaseConfiguration.create(); CLASS_LOADE

使用2.0.2 hbase客户端版本。

初始化ClassLoaderHolder时在第79行失败

这可能是什么原因呢。ClassLoaderHolder静态块有什么问题吗

    static {
      ClassLoader parent = RemoteWithExtrasException.class.getClassLoader();
      Configuration conf = HBaseConfiguration.create();
      CLASS_LOADER = AccessController.doPrivileged((PrivilegedAction<ClassLoader>)
        () -> new DynamicClassLoader(conf, parent)
      );
    } 
静态{
ClassLoader parent=RemoteWithExtrasException.class.getClassLoader();
Configuration=HBaseConfiguration.create();
CLASS_LOADER=AccessController.doPrivileged((PrivilegedAction)
()->新的DynamicClassLoader(配置,父级)
);
}