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

版权声明:本文为博主原创文章,转载请注明出处 https://blog.csdn.net/yypzye/article/details/41913173

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进来也是可以的)~~

猜你喜欢

转载自blog.csdn.net/yypzye/article/details/41913173
今日推荐