问题描述:在写ibatis配置文件的时候出现错误提示The file cannot be validated as there was a connection problem,虽然不影响程序运行但是无法出现提示信息。
原因分析:是ibatis现在被apache收尾旗下了,原来的提示路径无法找到。
解决方法:
将:
<span style="color:#ff0000;">http://www.iBATIS.com/dtd/sql-map-2.dtd</span>
该为:
<span style="color:#3333ff;">"http://ibatis.apache.org/dtd/sql-map-2.dtd"</span>
即把路径改更新后即可。