首页 > 解决方案 > 如何在代理环境中eclipse的网络设置中启用native provider下的HTTPS

问题描述

我的系统在代理服务器后面,在 eclipse.ini 文件中给出了 vm 参数“-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4”以支持本机提供程序. 当我使用本地网络提供商时,我无法使用 HTTPS。我需要在网络设置中将 HTTPS 与本机提供程序一起使用

当我尝试从 eclipse.ini 中删除“-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4”时,我仍然无法在帮助中使用 https->install new我使用的软件和链接是“ https://download.eclipse.org/eclipse/updates/4.7

在代理环境中使用时,有什么方法可以在 Eclipse 中的本地提供商网络设置下启用 HTTPS?

标签: eclipsenetworkinghttpsnative

解决方案


在 Preferences (Preferences > General > Network Connection) 选择 Native 作为活动提供者。

此外添加如下内容:

-Djava.net.useSystemProxies=true
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
-Dhttp.proxyPort=
-Dhttp.proxyHost=
-Dhttp.proxyUser=
-Dhttp.proxyPassword=
-Dhttp.nonProxyHosts=localhost|127.0.0.1

到eclipse.ini。或尝试:

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

推荐阅读