hduser@neha-pc:/usr/usr/local/local/geomesa-tutorials $ java -cp geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-qumulo-qumulo-quickstart/target/target/geomesa-tuteors-geomesa-tutorials-accumulo.Catalog Table1拿起Java_tool_options:-dgeomesa.hbase.coprocessor.path = hdfs = hdfs://localhost:8020/hbase/hbase/lib/lib/geomesa-hbase-distributed-runtime_2.11-2.11-2.2.0.jar加载数据存储java.lang.incompatibleclassChangeError:方法org.locationtech.geomesa.security.authorizationsprovider.apply(ljava/util/map; ljava/map; ljava/util/list;)必须是InterfaceShodref常数 at org.locationtech.geomesa.accumulo.data.accumulodatastorefactory $ .buildauthsprovider(comgulodatastorefactory.scala:234) at org.locationtech.geomesa.accumulo.data.accumulodatastorefactory $ .buildConfig(accamulodatastoreFactory.scala:162) at org.locationtech.geomesa.accumulo.data.accumulodatastorefactory.createateDatastore(comgulodatastoreFactory.scala:48) at org.locationtech.geomesa.accumulo.data.accumulodatastorefactory.createateDatastore(comgulodatastoreFactory.scala:36) 在org.geotools.data.dataaccessfinder.getdatastore(dataaccesfinder.java:121) 请访问org.geotools.data.datastorefinder.getDatastore(datastorefinder.java:71) 在org.geomesa.example.quickstart.geomesaquickstart.createpatastore(geomesaquickstart.java:103) 在org.geomesa.example.quickstart.geomesaquickstart.run(geomesaquickstart.java:77) atorg.geomesa.example.accumulo.accumuloquickstart.main(comguloquickstart.java:25)
您需要确保类Path上的所有版本的Geomesa都相同。仅从您的命令中,您似乎至少将2.3.0-Snapshot与2.2.0混合。如下所述,请尝试查看与您想要的Geomesa版本相对应的教程项目的Git标签。如果您想使用快照版本,则需要确保您对每个项目进行了最新更改。