spring配置文件没有错,但是出现红叉的解决方法

spring配置文件没有错,但是出现红叉而且  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。


解决方法

右击工程,选择properties,选myeclipse,选spring,选bean,然后把对应的spring配置文件remove,确定就好了。等报错消失了,再进来ADD进刚才remove的配置文件就好了(测试过,不用重新ADD进来也是可以的)~~

posted @ 2014-12-13 20:19  一叶扁舟YE  阅读(1445)  评论(0)    收藏  举报