需要Eclipse Neon HTTP代理验证错误

时间:2016-09-19 14:59:35

标签: eclipse proxy

当我去"安装新软件"并选择一个更新站点或 转到"可用软件站点"然后单击"重新加载",我得到一个" HTTP代理验证要求"错误。

我在网上搜索过,我已经尝试了找到的建议,例如设置eclipse.ini

-vmargs -Djava.net.preferIPv4Stack=true
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4

我在Helios版本中设置了Neon链接,它显示可用软件没有错误。

http://download.eclipse.org/releases/neon

需要HTTP代理身份验证:http://download.eclipse.org/releases/neon/compositeContent.xml 需要HTTP代理身份验证:http://download.eclipse.org/releases/neon/compositeContent.xml 需要代理身份验证

我没有将Eclipse配置为针对任何代理进行身份验证。

版本:Neon Release(4.6.0) 构建ID:20160613-1800

Windows 7 64位

如何设置它? 我在公司网络内部,但我也在同一台笔记本电脑的家中试过,问题仍然存在。

3 个答案:

答案 0 :(得分:15)

解决它添加到eclipse.ini

Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4

并删除:

Djava.net.preferIPv4Stack=true

答案 1 :(得分:8)

我的Eclipse Neon.2 (4.6.2)遇到了同样的问题。我没有成功,只需在-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4中指定eclipse.ini,就像这里提出的那样,在StackOverflow上的some other answers中指定"Windows"。唯一帮助我的是做以下事情。转到"Preferences""General""Network Connections""Active Provider"并将"Direct"设置为NA,然后确认新设置。在此之后,我可以成功使用Eclipse软件更新站点,如我所愿。总而言之,我的设置如下所示:

enter image description here

答案 2 :(得分:0)

您可以在eclipse上手动安装软件,在线查找zip文件。

转到帮助>安装新软件>添加>存档并找到zip文件。

请务必取消选中“在安装期间联系所有更新站点以查找所需软件”框,因为如果勾选此项,则会提供“需要HTTP代理身份验证”