Spring,SpringMVC,Mybatis等配置文件报错解决(Referenced file contains errors)

  今天自己搭建了ssm框架,头文件什么的都是拷贝的笔记的,本来不会出错。可是偏偏报错(如下):

  1. Referenced file contains errors (http://www.ibatis.com/dtd/sql-map-config-2.dtd). For more information, right click on the message in the  Problems View and select "Show Details..." 

  整整折腾了一上午,也没解决。网上大多数都是让project里面更新,或者头文件要求统一等等,根本解决不了问题。

  最后取消了xml验证,才恢复正常,其实程序运行本身没问题,步骤是Window-->Preferences-->Validation下面 把xml的manual和build前面对号都取消。问题解决。

posted @ 2017-09-04 13:03  半路和尚会念经  阅读(1187)  评论(0编辑  收藏  举报