mybatis 异常 There is no getter for property named 'bizId' in 'class java.lang.Long'(示
Posted 莫大人
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mybatis 异常 There is no getter for property named 'bizId' in 'class java.lang.Long'(示相关的知识,希望对你有一定的参考价值。
mybatis 异常 There is no getter for property named \'bizId\' in \'class java.lang.Long\'
当使用mybatis进行传参的时候,参数只有一个时会出现这种类似的错误。
解决:
1.接口定义出,指定参数名
2.在xml 中指定类型
以上是关于mybatis 异常 There is no getter for property named 'bizId' in 'class java.lang.Long'(示的主要内容,如果未能解决你的问题,请参考以下文章
Mybatis异常There is no getter for property named 'XXX' in 'class java.lang.String'(示例代
org.apache.ibatis.reflection.ReflectionException: There is no getter for property named XXX 异常的解决办法。
解决Mybatis报错:org.apache.ibatis.reflection.ReflectionException: There is no getter for property named
mybatis There is no getter for property named 'xxxx
There is no getter for property named 'user' in 'class com.jyr.wh.domain.User' 异常(示例