无法使用maven依赖项

时间:2013-11-18 20:51:25

标签: java eclipse spring maven

ArtifactDescriptorException: Failed to read artifact descriptor for org.aspectj:aspectjrt:jar:1.6.10: 
ArtifactResolutionException: Failure to transfer org.aspectj:aspectjrt:pom:1.6.10 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. 
Original error: Could not transfer artifact org.aspectj:aspectjrt:pom:1.6.10 from/to central (http://repo.maven.apache.org/maven2): The operation was cancelled.

或者这个: 描述资源路径位置类型 容器'Maven Dependencies'引用非现有库C:\Users\...\\.m2\repository\org\springframework\spring-context\3.2.4.RELEASE\spring-context-3.2.4.RELEASE.jar p1构建路径构建路径问题

而且: 描述资源路径位置类型 在解决构建路径错误之前无法构建项目p1未知Java问题

如何解决这个maven问题?

1 个答案:

答案 0 :(得分:0)

我通过添加来解决它            中央       在repo.mycompany.com上运行的Maven Repository Manager       http://repo1.maven.apache.org/maven2       中央