1

我从 SVN 下载了 JPetstore,但有无法解决的 maven 错误

我尝试运行 maven-update 依赖项和 maven-update 项目配置,但没有帮助。

错误如下:

The container 'Maven Dependencies' references non existing library 
'C:\Users\YYC\.m2\repository\javax\servlet\jstl\1.2\jstl-1.2.jar

ArtifactDescriptorException: Failed to read artifact descriptor for 
org.springframework:spring-context-support:jar:3.0.0.BUILD-SNAPSHOT: 

Maven:2.2.1

Spring JPetstore https://src.springframework.org/svn/spring-samples/jpetstore/trunk/org.springframework.samples.jpetstore/

我想了解错误并解决它们,以便我可以构建和运行 JPetStore 代码。

4

1 回答 1

0

答案似乎是编辑pom.xml以引用Spring 3.0.5.RELEASE替换文件中的 3.0.0.BUILD-SNAPSHOT。

于 2012-05-21T13:23:06.367 回答