报错内容是:Exception in thread “main” org.apache.ibatis.builder.IncompleteElementException: Could not find result map …
提示是不能找到结果映射
然后就看了看映射配置文件,发现
错误:
<select id=“xxxx” resultMap=“xxxxx”>
正确改成
<select id=“xxxx” resultType=“xxxxx”>
在idea使用快捷键打的太快没注意到!!!