-6
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

ADM
  • 20,406
  • 11
  • 52
  • 83
tabn3adit
  • 3
  • 4

2 Answers2

0

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.

Anand Phadke
  • 531
  • 3
  • 28
0

You need to add your project either .jar or the dependencies:

<dependency>
  <groupId>com.owlike</groupId>
  <artifactId>genson</artifactId>
  <version>1.4</version>
</dependency>
rosu alin
  • 5,674
  • 11
  • 69
  • 150