mybatis 配置文件报错

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">

加了  www
难缠 不加就报错。。。


猜你喜欢

转载自cometzb-xujun.iteye.com/blog/1534016