今天在写简单的mybatis自增主键返回的时候 xml报错如下
The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|
insert*|update*|delete*|select*)+".
The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|
insert*|update*|delete*|select*)+".
先是百度了一下,然后百度上根本没有什么有用的信息。。
大致解决办法如下
这个错误的意思是 你写的语句或者标签和mybatis的标准化配置不匹配。
如果 检查之后还是没找到错误的话,重启一下ecplise试试。。