Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geowave-dev] Issues with guava in snapshot version


Well if helps anyone, i made the code work, keeping guava version 11.0.2 in my pom.xml, and copying this two classes from guava-14.0-rc1 inside my project.

-com.google.common.io.BaseEncoding

-com.google.common.io.GwtWorkarounds


As I see, the other class that is use from guava in geowave is com.google.common.io.Files, that already exist in the old 11.0.2 version.




De: geowave-dev-bounces@xxxxxxxxxxxxxxxx <geowave-dev-bounces@xxxxxxxxxxxxxxxx> en nombre de Jose M <soloninguno@xxxxxxxxxxx>
Enviado: jueves, 25 de febrero de 2016 05:25 p.m.
Para: geowave-dev@xxxxxxxxxxxxxxxx
Asunto: [geowave-dev] Issues with guava in snapshot version
 

Hi guys,


I was testing some querys with geowave, based in the SpatialQueryExample, and when querying I'm gettings this exception:


java.lang.NoClassDefFoundError: com/google/common/io/BaseEncoding
    at mil.nga.giat.geowave.core.index.ByteArrayUtils.byteArrayToString(ByteArrayUtils.java:48)
    at mil.nga.giat.geowave.datastore.accumulo.query.AccumuloConstraintsQuery.addScanIteratorSettings(AccumuloConstraintsQuery.java:194)
    at mil.nga.giat.geowave.datastore.accumulo.query.AccumuloFilteredIndexQuery.query(AccumuloFilteredIndexQuery.java:88)
    at mil.nga.giat.geowave.datastore.accumulo.AccumuloDataStore.query(AccumuloDataStore.java:312)


I'm using geowave 0.9.1-SNAPSHOT.


I suppose they are related to this issues?

https://github.com/ngageoint/geowave/issues/564

https://github.com/ngageoint/geowave/pull/275


In my classpath I have guava 11.0.2, as I'm using geowave withing a hadoop client 2.7.1 that require this guava version per https://issues.apache.org/jira/browse/HADOOP-11319

Thanks in advance



Back to the top