目录
- 1. 问题所示
- 2. 原理分析
- 3. 解决方法
1. 问题所示
在配置Maven依赖信息的时候,出现如下问题:
com.alibaba.nacos:nacos‐client:pom:1.1.3 failed to transfer from http://nexus.hepengju.cn:8081/nexus/content/groups/public/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of nexus has elapsed or updates are forced. Original error: Could not transfer artifact com.alibaba.nacos:nacos‐client:pom:1.1.3 from/to nexus (http://nexus.hepengju.cn:8081/nexus/content/groups/public/): transfer failed for http://nexus.hepengju.cn:8081/nexus/content/groups/public/com/alibaba/nacos/nacos%E2%80%90client/1.1.3/nacos%E2%80%90client-1.1.3.pomTry run Maven import with -U flag (force update snapshots)
截图如下所示: