eclipse 设定proxy,仍不能连网的问题

在Eclipse中配置代理后遇到无法下载jar文件的问题时,可以通过在eclipse.ini文件中添加特定参数来解决。具体步骤包括在eclipse.ini中加入-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient、-Dhttp.proxyPort=代理端口号、-Dhttp.proxyHost=代理IP地址和-Dhttp.nonProxyHosts=localhost|127.0.0.1来排除localhost和127.0.0.1的代理使用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

有的eclipse在perferences-》General-》Network connection设定代理后,仍不能连接网络下载jar。解决方法:在eclipse.ini下面加:

 

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient

-Dhttp.proxyPort=8080(your port)

-Dhttp.proxyHost=192.168.19.200(your IP)

-Dhttp.nonProxyHosts=localhost|127.0.0.1(排除localhost,和127.0.0.1使用proxy)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值