Reputation: 3
final Collaborateur collaborateur = new Genson().deserialize(scanner.nextLine(),Collaborateur.class);
05-17 12:00:20.058: E/dalvikvm(3150): Could not find class 'com.owlike.genson.Genson', referenced from method com.example.ayit.MainActivity$2.run
Upvotes: -6
Views: 229
Reputation: 5830
You need to add your project either .jar or the dependencies:
<dependency>
<groupId>com.owlike</groupId>
<artifactId>genson</artifactId>
<version>1.4</version>
</dependency>
Upvotes: 0
Reputation: 531
Please look into this to remove an error.
download jar file from here and add it into your project.
I hope this will resolve your error.
Upvotes: 0