[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[geomesa-users] InstantiatorStrategy class not found when running quick-start
|
Folks,
I built GeoMesa and its quick-start, but the q-s stopped because it could not find
a class:
java -cp ./target/geomesa-quickstart-1.0-SNAPSHOT.jar org.geomesa.QuickStart
-instanceId tweeter -zookeepers "localhost:2181" -user root -password tweeter
-tableName tweet
log4j:WARN No appenders could be found for logger
(org.apache.accumulo.fate.zookeeper.ZooSession).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Creating feature-type (schema): QuickStart
Creating new features
Inserting new features
Exception in thread "main" java.lang.NoClassDefFoundError:
org/objenesis/strategy/InstantiatorStrategy
at
org.locationtech.geomesa.feature.kryo.KryoFeatureSerializer.<init>(KryoFeatureSerializer.scala:34)
However, adding a dependency on objenesis in the q-s POM file solved the issue: is
there a better way ?
Regards,
Luca Morandini
Data Architect - AURIN project
Melbourne eResearch Group
Department of Computing and Information Systems
University of Melbourne
Tel. +61 03 903 58 380
Skype: lmorandini