Eclipse配置dispatcherServlet-servlet.xml配置文件异常

The errors below were detected when validating the file "spring-context-4.3.xsd" via the file "dispatcherServlet-servlet.xml". In most cases these errors can be detected by validating "spring-context-4.3.xsd" directly. However it is possible that errors will only occur when spring-context-4.3.xsd is validated in the context of dispatcherServlet-servlet.xml.

在配置springMVC配置文件dispatcherServlet-servlet.xml时,Eclipse工具报出如题异常。

具体问题原因暂时未知,目前只找到相应的解决方案,即将配置文件中的版本号删除,如下图
原配置
原图
修改后的配置
修改后的配置
后续更新过程中,发现将配置还原,报错并不会重新出现,笔者初步认为可能是由于网络原因导致项目无法连接http://www.springframework.org/schema/context/spring-context-4.3.xsd中的地址所致,后续还原成功也是因为网络原因成功加载上配置文件了,所以没有报错。正真原因还需要后续跟踪排查

参考链接https://www.jianshu.com/p/45e1eaefcdbe

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值