Spring + Mybatis 异常

2017-03-23  本文已影响137人  拾壹北

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

三种情况:


HTTP Status 500 - Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'diffRecordModel' in 'class com.qunar.fresh2017.exam3.model.DiffRecordModel'

Mybatis进行数据库操作是传入一个model给mapper报此错误,解决方法:

上一篇 下一篇

猜你喜欢

热点阅读