核心提示:解决办法:引入mybatis-3-config.dtd 文件Window-preferences-搜索xml-xml catalog在User Specified Entries目录下 add-Loc...
解决办法:引入mybatis-3-config.dtd 文件
Window-preferences-搜索xml-xml catalog
在User Specified Entries目录下 add-> Locattion:https://mybatis.org/dtd/mybatis-3-mapper.dtd Key Type:URI Key:-//mybatis.org//DTD Mapper 3.0//EN
最后,关闭xml,重新打开,如果重新打开不可以,重启 Eclipse即可。