日期:2014-05-18  浏览次数:20576 次

MyEclipse整合spring框架支持时applicationContext.xml上总是有红叉
错误信息:
Error occured processing XML 'Provider org.apache.xerces.parsers.IntegratedParserConfiguration coul

用myeclipse10整合S2SH,完全是按照默认设置,不断地点next设置的。但是applicationContext.xml内部没有错,就是有个小红叉,看了一下problems里面有error显示如标题:Error occured processing XML 'Provider org.apache.xerces.parsers.IntegratedParserConfiguration could not be instantiated: org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.'. See Error Log for more details。

------解决方案--------------------
你可以试试这样:
1.右击你的当前web工程,选择MyEclipse;
2.在MyEclipse菜单的弹出菜单中点击Exclude From Validation
3.刷新web工程
这样应该就可以了,如果不行的话,只能重装MyEclipse了,可能是你的版本太高了