-U 플래그(스냅샷 강제 업데이트)를 사용하여 Maven 가져오기를 실행하는 솔루션이 나타납니다.

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.pom

Try run Maven import with -U flag (force update snapshots)

스크린샷은 아래와 같습니다.

추천

출처blog.csdn.net/weixin_47872288/article/details/131987102