报错信息:
Referenced file contains errors (http://mybatis.org/dtd/mybatis-3-mapper.dtd). For more information, right click on the message in the Problems View and select "Show
Details..."
解决方法:
将xml文件头改为:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//www.mybatis.org//DTD Mapper 3.0//EN" "http://www.mybatis.org/dtd/mybatis-3-mapper.dtd">