Mybatis的配置文件出现The file cannot be validated as the XML definition

这个问题的出现也是停奇怪,本来好好的,等我要在写一个Mapping文件时发现突然没有提示了,并且eclipse也出现了感叹号,指上去一看,就看到The file cannot be validated as the XML definition

我去,这什么鬼吗,刚刚好好的,突然就说找不到了,没办法就只能百度咯,百度中看到以下最简单的解决办法

在原来http://mybatis.org/dtd/mybatis-3-mapper.dtd的地址上加上www,

变成     http://www.mybatis.org/dtd/mybatis-3-mapper.dtd

弄好之后就能继续玩耍了,真好!

猜你喜欢

转载自blog.csdn.net/Chen_RuiMin/article/details/88932401
今日推荐