Error While Unmarshalling

31 views
Skip to first unread message

Aditya Rathi

unread,
Aug 30, 2013, 9:12:27 AM8/30/13
to jongo...@googlegroups.com
Hi,

I am getting un-marshall exception while trying to Un-Marshal to Company Object

public class Company{
//private String name;
public Company(){}
@ObjectId @Id
private String id;
private String name;
private String address;
private String contact;
}

org.jongo.marshall.MarshallingException: Unable to unmarshall result to class Company from content { "_id" : { "$oid" : "521f404257c4b8cc5fb764c7"} , "name" : "aditya" , "address" : "Pune" , "contact" : "ad...@aaa.com"}

Aditya Rathi

unread,
Aug 30, 2013, 10:09:29 AM8/30/13
to jongo...@googlegroups.com
Its been fixed. It was becuase of jackson-core-2.2.0.jar .

Changed it to jackson-core-2.1.0.jar
Reply all
Reply to author
Forward
0 new messages