【发布时间】:2018-12-29 02:36:23
【问题描述】:
当我尝试 maven 安装时出现此错误核心
org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.4: Could not transfer artifact org.apache.maven.plugins:maven-install-plugin:pom:2.4 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org
我找到了几个关于这个问题的相关主题:
Maven: Failed to retrieve plugin descriptor error
我知道这是因为 LAN 代理配置,问题是,我没有 LAN 代理,我很确定这是因为 virtualbox 网络配置,但我不知道它们是怎么回事相关且更重要的是如何解决它。有人可以帮我弄清楚如何解决这个问题。
- 主机:MAC OS X
- 虚拟机:5.2.16
- Ubuntu:18.04
- Maven:3.5.2
提前感谢您!
【问题讨论】:
标签: ubuntu virtualbox maven-3