您的位置:首页 > 运维架构 > Apache

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorEx

2016-12-04 22:03 901 查看

情况:使用mybatis时,在实体类中写了一个构造函数,没有使用所有元素,然后使用select查询的时候,会返回如下错误信息

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: No constructor found in com.manager.domain.SignCheck matching [java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.Integer, java.lang.Integer]

这个时候只需要在实体类中增加一个无参构造函数即可
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐