简体   繁体   English

Maven:无法检索pluginorg.apache.maven.plugins:maven-install-plugin:2.4或无法解决其依赖项之一

[英]Maven: Failed to retrieve pluginorg.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved

Below is my error when I execute maven build 以下是我执行Maven构建时的错误

[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1.975 s
    [INFO] Finished at: 2017-04-19T15:45:25+05:30
    [INFO] Final Memory: 8M/155M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Plugin 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): Unexpected response code for CONNECT: 405 -> [Help 1]
    Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.apache.maven.plugins:maven-install-plugin:pom:2.4 from/to central (https://repo.maven.apache.org/maven2): Failed to transfer fil
    : https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom. Return code is: 405 , ReasonPhrase:Method Not Allowed.

Similar questions have already been asked. 已经提出了类似的问题。 It's a proxy/network issue. 这是代理/网络问题。

Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved 插件org.apache.maven.plugins:maven-clean-plugin:2.5或其依赖项之一无法解析

Maven: Failed to retrieve plugin descriptor error Maven:无法检索插件描述符错误

Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved 插件org.apache.maven.plugins:maven-install-plugin:2.4或其依赖项之一无法解析

Please try Googling first, or making your question more specific, like mentioning what all steps you took already to solve the problem. 请先尝试使用Google搜索,或让您的问题更具体,例如提及已解决问题的所有步骤。

Please add correct proxy information. 请添加正确的代理信息。

<proxies>
  <proxy>
    <id>proxy</id>
    <active>true</active>
    <protocol>http</protocol>
    <host>proxy.example.com</host>
    <port>8080</port>
  </proxy>
</proxies>

or apply it to your LAN settings. 或将其应用于您的LAN设置。 Whatever your requirment. 无论您有什么要求。 It is Proxy issue. 这是代理问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 插件 org.apache.maven.plugins:maven-install-plugin:2.4 或其依赖项之一无法解析 - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved 插件 org.apache.maven.plugins:maven-resources-plugin:2.6 或其依赖项之一无法解析 - Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved 插件 org.apache.maven.plugins:maven-compiler-plugin 或其依赖项之一无法解析 - Plugin org.apache.maven.plugins:maven-compiler-plugin or one of its dependencies could not be resolved Maven:插件 org.apache.maven.plugins:maven-clean-plugin:2.5 或其依赖项之一无法解析 - Maven : Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved 无法计算构建计划:插件 org.apache.maven.plugins:maven-resources-plugin:2.6 或其依赖项之一无法解析 - Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved 无法计算构建计划:插件 org.apache.maven.plugins:maven-resources-plugin:2.5 或其依赖项之一无法解析 - Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved 无法读取工件 org.apache.maven.plugins:maven-install-plugin:maven-plugin:2.4:runtime 的生命周期映射元数据 - Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:maven-install-plugin:maven-plugin:2.4:runtime Maven:无法解析插件或其依赖项之一 - Maven: Plugin or one of its dependencies could not be resolved 获取org.apache.maven.plugins:maven-jar-plugin:2.3.2或其依赖项之一无法解析错误 - getting org.apache.maven.plugins:maven-jar-plugin:2.3.2 or one of its dependencies could not be resolved error Maven:插件或其依赖项之一无法解析 - Maven: Plugin or one of its dependencies could not be resolved
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM