maven仓库没有配置好

本文讲述了在尝试使用SpringWebMVC5.3.1版本时,Maven遇到从ApacheMaven中央仓库下载失败的问题,原因可能是连接超时。文章建议避免绑定本地仓库并强制更新,或等待官方更新间隔过后再尝试。

org.springframework:spring-webmvc:pom:5.3.1 failed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework:spring-webmvc:pom:5.3.1 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.108.215] failed: Read timed out 尝试使用 -U 标记(强制更新快照)运行 Maven 导入 最好是不要捆绑 选本地的maven仓库

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值