[英]Class not found in Cloud Bigtable SDK
我已經安裝了Google Cloud Bigtable Java SDK,但找不到以下類: TableName is not a member of package org.apache.hadoop.hbase
。 我使用了GitHub上描述的版本鏈接:
<dependency>
<groupId>com.google.cloud.bigtable</groupId>
<artifactId>bigtable-hbase-1.0</artifactId>
<version>0.2.2</version>
</dependency>
TableName
類是HBase的一部分,而不是Cloud Bigtable。 例如,看一下Simple-CLI 。
您會注意到,在pom.xml
,我們有:
<dependencies>
<dependency>
<groupId>com.google.cloud.bigtable</groupId>
<artifactId>bigtable-hbase-1.1</artifactId>
<version>${bigtable.version}</version>
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-client</artifactId>
<version>${hbase.version}</version>
</dependency>
其中bigtable.version
= 0.2.2和hbase.version
= 1.1.1
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.