Referenced file contains errors (http://mybatis.org/dtd/mybatis-3-config.dtd). For more information,

Posted 沙弥

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Referenced file contains errors (http://mybatis.org/dtd/mybatis-3-config.dtd). For more information,相关的知识,希望对你有一定的参考价值。

mybatis配置文件报错Referenced file contains errors

mybatis的配置文件报错

The errors below were detected when validating the file "mybatis-3-config.dtd" via the file "mybatis-config.xml".  In most cases these errors can be detected by validating "mybatis-3-config.dtd" directly.  However it is possible that errors will only occur when mybatis-3-config.dtd is validated in the context of mybatis-config.xml.

配置
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd">


"http://mybatis.org/dtd/mybatis-3-config.dtd">
修改为
"http://www.mybatis.org/dtd/mybatis-3-config.dtd">







以上是关于Referenced file contains errors (http://mybatis.org/dtd/mybatis-3-config.dtd). For more information,的主要内容,如果未能解决你的问题,请参考以下文章

XXXAction-validation.xml文件中报错:Referenced file Contains errors

Referenced file contains errors (http://www.springframework.org/...解决

Referenced file contains errors (xml文件第一行小红叉错误)

Referenced file contains errors (xml文件第一行小红叉错误)

Eclipse Xml编译错误Referenced file contains errors - spring-beans-4.0.xsd

Eclipse Xml编译错误Referenced file contains errors - spring-beans-4.0.xsd