mybatis中使用association返回resultmap时,返回时报500错误 错误分析: 在mybatis使用association返回时,实体类里面会多出一个handler属性。 解决办法: 在对应的实体类里面加一个注解 @JsonIgnoreProperties(value={“handler”})