map.xml文件报The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*

出现这个问题  是因为

<insert></insert>

<delete></delete>

<update></update>

<select></select>

等标签写的不完整 或者写错位置了

比如<insert></insert>只写了一个,没有写结尾</insert>

或者<insert></insert>中的</insert>写的位置不对,比如写在了代码里面

posted @ 2020-11-30 09:17  明知山有小脑斧  阅读(3868)  评论(0)    收藏  举报