java无法使用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依赖项”引用了不存在的库^p1生成路径问题
还有这个: 说明资源路径位置类型 在生成路径错误解决之前,无法生成项目
如何解决这个maven问题
# 1 楼答案
我通过添加 中心的 在repo上运行的Maven存储库管理器。我的公司。通用域名格式 http://repo1.maven.apache.org/maven2 中心的