|  Hi Luca, 
 
 Sorry for the trouble.  Due to IP concerns, we were advised by Eclipse to remove Objenesis or revert a previous version.  We tried out removing it, and that has caused this issue. 
 
 Your work around will definitely sort your issue for the time being.  For others reading along, if you see exactly this issue, you can a block like this to the QuickStart's pom. 
 
         <dependency>             <groupId>org.</groupId>             <artifactId>objenesis</artifactId>             <version>1.2</version>         </dependency> 
 
 Tomorrow, my team and I will test out reverting to the Eclipse approved version and apply that fix to master. 
 
 As another note, we offer Kryo, Avro, and text encodings for SimpleFeatures.  If this issue with Kryo (well, with one of its dependencies) doesn't get resolved, we can switch to using Avro for our default encoding. 
 
 Thank you very much for taking the time to write in! 
 
 Jim 
 
 
 ----- Original Message -----
 From:  lmorandini@xxxxxxxx "Geomesa User discussions" <geomesa-users@xxxxxxxxxxxxxxxx> 
 To: <geomesa-users@xxxxxxxxxxxxxxxx>
 Cc: 
 Sent: Thu, 19 Mar 2015 12:49:35 +1100
 Subject: [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 
_______________________________________________ 
geomesa-users mailing list 
geomesa-users@xxxxxxxxxxxxxxxx 
To change your delivery options, retrieve your password, or unsubscribe from this list, visit 
http://www.locationtech.org/mailman/listinfo/geomesa-users
  
 |