nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for propert...

错误信息:

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("")

转载于:https://www.cnblogs.com/magicya/p/10696207.html

你可能感兴趣的:(nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for propert...)