nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named ‘enterpriseId’ in ‘class java.lang.String’

错误信息:

nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'enterpriseId' in 'class java.lang.String'

解决办法

xml里面,标签 parameterType 的值有错误。
或者在DAO层的方法参数前加上注解 @Param(“”)

Related Posts

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注