jackson反序列化失败异常总结
- 存在冲突的访问器方法,Conflicting setter definitions for property “myproperty”
例如:
class TypeA extends TypeB implements InfC {}
class TypeB {
String myproperty;
String getMyproperty(){return myproperty};
void setMyproperty(String value){myproperty = value};
}
interface InfC {
String getMyproperty();
void setMyproperty(String value);
}