java - Springsource Tool Suite导入Spring3.0的jpetstore时maven报错

标签 java spring maven

我从 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 代码。

最佳答案

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

关于java - Springsource Tool Suite导入Spring3.0的jpetstore时maven报错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10674002/

相关文章:

java - GAE 数据存储 - 无法在 Windows 上以编程方式启动 LocalDevelopmentDatastore

java - ServerSocket 限制连接数

java - 如何考虑夏令时在 mongoDB 中存储 future 的调度日期

java - CAS 4.2.2 的多个属性文件

spring - java.lang.NoClassDefFoundError : org/jboss/logging/BasicLogger

javascript - 无法从 url 读取 js 文件 - 收到空的 html 文件

java - JTextPane 中的插入符位置不正确?!错误或预期的行为?

java - 如何在 spring security 中检查每个请求的用户状态

java - 如何使用 Eclipse 作为编辑器在 Maven 项目中查找和丢失 Artifact ?

maven - 在 Jenkins 插件中使用外部 dll 库