您的位置:首页 > 编程语言 > Java开发

mybatis 校验报错问题[myeclipse 8.5]

2015-08-05 14:56 441 查看
开发团队用的是svn工具共享的后台Tomcat工程代码,在别人那里,是正常没有问题的,但是我

checkout 下来后就报错

Referenced file contains errors (http://mybatis.org/dtd/mybatis-3-config.dtd).  For more information, right click on the message in the Problems View and select "Show Details..."
iBatis.xml


iBatis.xml
是我的配置文件

我在网上搜了一下,说是把

<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">

改成

<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://www.mybatis.org/dtd/mybatis-3-mapper.dtd">

也就是加一个www.  然而并没有用

由于是相同的工程,只是运行环境的不同,所以我判断是工具问题,也就是myeclipse8.5的问题

如下图,将校验选项全部取消,问题就没有了

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  mybatis myeclipse xml