既然来到这里,那么首先恭喜你犯了这个幼稚的错,看看是不是有种拍死自己的冲动呢?
发生以上主要有两种:
1.
org.mybatis.spring.MyBatisSystemException: nested exception is org.Apache.ibatis.reflection.ReflectionException: There is no getter for property named 'userId1' in ‘entity.java’
在异常的信息中比较清楚的指明了引发异常的原因There is no getter for property named 'userId1' in ‘entity.java’,找到对应的实体看看有没有对应的属性和对应的SET和GET方法!我这里是缺少对应的属性,也根本没有对应的SET和GET方法!
### 2.
org.mybatis.spring.MyBatisSystemException: nested exception is org.Apache.ibatis.reflection.ReflectionException: There is no getter for property named '' in ‘entity.java’