jackson反序列化失败异常总结

  1. 存在冲突的访问器方法,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);	
}

posted on 2022-04-11 22:39  路过君  阅读(195)  评论(0编辑  收藏  举报

导航