最新回答 / 清风伴酒路还长
我记得实体类(Bean.Message)中的属性取名称的时候,首字母是不能用大写。看看你的MessageDao.xml里面在配置的时候 是不是都用了大写的ID;贴下你的代码看看
2017-03-20
Could not set property 'ID' of 'class com.cml.Bean.Message' with value '1' Cause: org.apache.ibatis.reflection.ReflectionException: There is no setter for property named 'ID' in 'class com.cml.Bean.Message'
2017-03-20