处理XML时出错“无法从位置加载架构映射 [英] Error occured processing XML 'Unable to load schema mappings from location

查看:442
本文介绍了处理XML时出错“无法从位置加载架构映射的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从我的仓库中获取了一个现有的maven,然后当我用eclipse打开时,我收到了这个错误:

I fetched an existing maven from my repo then when I open with eclipse I get this error:

Error occured processing XML 'Unable to load schema mappings from location [META-INF/spring.schemas]'. 
See Error Log for more details  security-context.xml    /myapp/src/main/webapp/WEB-INF/spring/appServlet    Unknown Spring Beans Problem

我是否需要手动将spring.schemas放入META-INF文件夹?

Do I need to put spring.schemas into META-INF folder manually?

推荐答案

尝试清理你的罐子,可能其中一罐已损坏。

Try to clean your jars, maybe one of them is corrupted.

右键单击您的项目 - > Run As - > Maven clean。

然后:

右键单击你的项目 - > Run As - > Maven build。

Right click on your projects -> Run As -> Maven clean.
Then:
Right click on your projects -> Run As -> Maven build.

你可以从命令行mvn clean和mvn build

You can do it from the command line with "mvn clean" and "mvn build"

这篇关于处理XML时出错“无法从位置加载架构映射的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆