Mybatis报错:
The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+".
解决方案:
配置文件的注释内容多打了一个>
比如:
<!-- 关联单个信息 -->
<!-- 两条语句加载Book和关联的User信息 -->>
<select id="findBookAndUser"
resultMap="bookMap">
select *from cn_notebook
</select>