nested exception is org.apache.ibatis.reflection.ReflectionException

4 阅读1分钟

nested exception is org.apache.ibatis.reflection.ReflectionException: Could not set property 'a' of 'class zzz.yyy.xxx' with value '66666666666' Cause: org.apache.ibatis.reflection.ReflectionException: There is no setter for property named 'a' in 'class zzz.yyy.xxx'

对应的xxxMapper.xml中

<resultMap id="xxxMap" type="zzz.yyy.xxx">

内忘记把对应的a字段删掉