您的位置:首页 > 其它

nested exception is IncompleteElementException: Could not find parameter map

2016-11-11 21:41 141 查看
错误信息如下:

[WARN ] org.springframework.beans.factory.support.DefaultListableBeanFactory-->
Invocation of init method failed; nested exception is org.apache.ibatis.builder.IncompleteElementException:
Could not find parameter map org.lc.jiankunking.system.member.dao.TestInfoMapper.map


错误原因:

<insert id="insertTestInfo" parameterMap="map" >
//省略
</insert>


应该是(替换parameterMap为parameterType):

<insert id="insertLoginInfo" parameterType="map" >
//省略
</insert>


作者:jiankunking 出处:http://blog.csdn.net/jiankunking
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐