问题:

java.lang.InternalError: com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of *****, problem: abstract types either need to be mapped to concrete types, have custom deserializer, or be instantiated with additional type information

解决:

给抽象类或接口增加@JsonTypeInfo

 

参考:

http://blog.csdn.net/sdyy321/article/details/40298081

发表评论

电子邮件地址不会被公开。