errMsg=org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'parentId' in 'class java.lang.Integer'


加上
@Param("")注解
本文介绍了一种在使用MyBatis框架时遇到的具体异常——针对Integer类型属性找不到getter方法的问题,并提供了解决方案,即通过使用@Param注解来避免此类错误。
errMsg=org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'parentId' in 'class java.lang.Integer'


加上
@Param("")注解
177
1万+
309
2万+
4059

被折叠的 条评论
为什么被折叠?
