错误信息:

Failure to transfer org.springframework.boot:spring-boot-maven-plugin:pom:2.1.0.RELEASE from http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of public has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-maven-plugin:pom:2.1.0.RELEASE from/to public (http://maven.aliyun.com/nexus/content/groups/public/): maven.aliyun.com

解决办法:

在本地仓库中删除C:\Users\lenovo\.m2\repository\org\springframework\boot\spring-boot-maven-plugin文件夹,

然后在项目上单击右键,选择Maven -> Update Project...,如下图所示:

GitHub 加速计划 / ma / maven
4.39 K
2.67 K
下载
Maven: Apache Maven是一个开源的项目管理和构建工具,主要用于Java项目。适合需要自动化项目构建和依赖管理的开发者。特点包括约定优于配置、易于使用和社区驱动。
最近提交(Master分支:2 个月前 )
12b3dae3 * Add cache for all steps * Pass through the maven.repo.loca.tail property 4 天前
ab7d766c This is just a cleanup of exception usage (by making them checked, fixing compiler issues, and undoing the change). There are at least two bugs (runtime escapes) fixed in this PR. 5 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐