2

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

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 文件夹吗?

4

2 回答 2

1

尝试清理你的罐子,也许其中一个已损坏。

右键单击您的项目-> 运行方式-> Maven clean。
然后:
右键单击您的项目 -> 运行方式 -> Maven 构建。

您可以使用“mvn clean”和“mvn build”从命令行执行此操作

于 2012-08-07T14:48:29.917 回答
0

请检查你的 pom.xml 文件,它错过了匹配的版本

<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-context</artifactId>
    <version>3.1.0.RELEASE</version>
</dependency>
于 2016-10-20T08:57:34.350 回答