I am implementing a firebase example as given in their documentations. I am facing this error:
com.fasterxml.jackson.databind.JsonMappingException: No
Add a constructor in line of:
public BlogPost(String author,String title) {
this.author=author;
this.title=title;
}
However it is also possible you need to redefine BlogPost
to:
class BLogPost {
public BlogPost() { }
String postId;
List someObject;
Getters/setters
}
In which SomeObject
is your current BLogPost
class.