【发布时间】:2012-05-20 13:55:27
【问题描述】:
我从 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 代码。
【问题讨论】:
-
jstl 库在存储库中吗?
-
将 Spring 工件更新到 3.0.5.RELEASE 修复了此错误,但会导致其他错误
-
我在我的存储库中看不到 jstl 库。但我的问题是为什么 maven 不能为我下载 jstl 到存储库?因为我在 pom.xml 文件中看到了依赖描述
-
对于 Rob,它通过更改为
3.0.5.BUILD-SNAPSHOT 来工作