IDEA 首次添加Maven plugins无法下载Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin,pom.xml依赖项无法下载Could not transfer artifact javax.servlet:javax.servlet-api:pom

IDEA 首次添加Maven plugins无法下载Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin
IDEA 首次添加Maven plugins无法下载Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin

错误内容:Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to alimaven (https://maven.aliyun.com/repository/central): Transfer failed for https://maven.aliyun.com/repository/central/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom

最终解决方式(不知道为什么):

1.设置镜像
IDEA 首次添加Maven plugins无法下载Could not transfer artifact org.apache.maven.plugins:maven-clean-pluginIDEA 首次添加Maven plugins无法下载Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin

2.双击右侧的clean开始了下载,多双击几个之后全部下载完成。

IDEA 首次添加Maven plugins无法下载Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin

相关文章:

  • 2022-12-23
  • 2021-06-08
  • 2021-12-05
  • 2022-12-23
  • 2021-11-26
  • 2021-08-28
  • 2022-12-23
猜你喜欢
  • 2021-09-06
  • 2021-11-04
  • 2022-01-24
  • 2021-09-25
  • 2022-12-23
  • 2021-11-13
相关资源
相似解决方案