mybatis3 xml dtd 异常

Referenced file contains errors (http://mybatis.org/dtd/mybatis-3-mapper.dtd). For more information, right click on the message in the Problems View and select "Show Details..."
The errors below were detected when validating the file "mybatis-3-mapper.dtd" via the file "AccountMapper.xml".  In most cases these errors can be detected by validating "mybatis-3-mapper.dtd" directly.  However it is possible that errors will only occur when mybatis-3-mapper.dtd is validated in the context of AccountMapper.xml.

异常解决:

  1. dtd 与 jar文件版本配置正确

  2. 缓存异常, 清除dtd缓存。Preferences -> General -> Network Connections -> Cache 删除想要的dtd

你可能感兴趣的:(xml,mybatis,dtd)