首页 > 编程语言 > 详细

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

时间:2019-04-12 15:39:14      阅读:1655      评论:0      收藏:0      [点我收藏+]

错误信息:

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

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

原文:https://www.cnblogs.com/magicya/p/10696207.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!