maven download jar Could not transfer artifact
原因:
公司电脑使用代理上网,下载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为私服的访问端口
原因:
公司电脑使用代理上网,下载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为私服的访问端口
觉得可用,就经常来吧! 欢迎评论哦! html5教程,巧夺天工,精雕玉琢。小宝典献丑了!
声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: maven download jar Could not transfer artifact
本文地址: https://pptw.com/jishu/586512.html