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..."
时间:2016-11-13 21:57:45
收藏:0
阅读:2306
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">
原文:http://www.cnblogs.com/ckxlovejava/p/6059751.html
评论(0)