This may happen if your data contract class is missing default constructor - so Jackson fails to construct it. You can try solve this issue by adding a private default constructor to your class (despite it is private, Jackson will be able to construct your class instance).