今天发现在 IDEA 中下载源码失败,通过查看 IDEA 日志看到了出错的原因:
1 | tail -f ~/Library/Logs/JetBrains/IntelliJIdea2021.3/idea.log |
再次单击下载源码按钮后实时输出:
1 | 2022-01-25 17:23:15,247 [ 135367] INFO - #org.jetbrains.idea.maven - org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.springframework:spring-webmvc:jar:sources:5.3.15 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public, default, releases)] |