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"> mybatis
mybatis.org前加上www.,將域名寫全就能夠了,坑爹啊!!!!xml