maven download jar Could not transfer artifact
程序员文章站
2022-09-25 12:29:44
原因:
公司电脑使用代理上网,下载jar包时没有使用ie代理。
解决方法:
settings.xml配置一下
[html]
原因:
公司电脑使用代理上网,下载jar包时没有使用ie代理。
解决方法:
settings.xml配置一下
[html]
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<host>192.168.7.17</host>
<port>8081</port>
</proxy>
host为maven私服的ip地址
port为私服的访问端口
推荐阅读
-
AndroidStudio报错:Could not download gradle.jar:No cacahed version available for offline mode
-
maven download jar Could not transfer artifact
-
Maven Could not transfer artifact
-
完美解决Could not download okhttp.jar (com.squareup.okhttp3:okhttp:3.3.1)
-
Android studio Could not download xxx.jar
-
Could not transfer metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml from/
-
最有效的解决方案:Unable to resolve dependency for ':[email protected]/compileClasspath': Could not download xx.jar
-
ERROR: Could not download gradle-core.jar
-
AndroidStudio报错:Could not download gradle.jar:No cacahed version available for offline mode
-
maven安装jar包到本地仓库和myeclipse开发报错Missing artifact xx解决方法