2016-09-19 81 views
6

當我去「安裝新軟件」,然後選擇一個更新站點或 進入「可用軟件站點」,然後點擊「刷新」,我得到一個「HTTP代理服務器身份驗證」的錯誤。Eclipse的霓虹燈HTTP代理身份驗證錯誤

我已經在網上搜索,我一直在嘗試,發現建議像

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

設置eclipse.ini我設置的霓虹燈鏈接在太陽神版本,並顯示可用的軟件wihtout錯誤。

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來反對任何代理進行身份驗證。

版本:霓虹發行(4.6.0) 版本ID:20160613-1800

64位Windows 7

我如何設置它的工作? 我在一家公司的網絡裏,但我也曾在家裏用同一檯筆記本電腦試過,問題仍然存在。

+0

你看過http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.user% 2Freference%2Fref-net-preferences.htm? – Mickael

+0

是的,我已經完成了。我讓這些配置爲默認值。 Helios連接正常。 – CoderInside

回答

14

解決它添加到的eclipse.ini

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

和刪除:

Djava.net.preferIPv4Stack=true 
+1

這也適用於我,您應該將此標記爲您的問題的正確答案。 – Sheldon

+0

在Eclipse Oxygen(v.4.7.0)下工作就像一個魅力! – budekatude

+0

也爲我效勞 – babyinEclipse

4

我有同樣的問題,我Eclipse Neon.2 (4.6.2)。我沒有任何成功通過在eclipse.ini指定-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4,這裏和some other answers提出在計算器上。唯一幫助我的是做以下事情。轉到"Windows""Preferences""Network Connections"並設置"Active Provider""Direct",然後確認新的設置。在此之後,我可以成功使用Eclipse軟件更新站點,如我所願。總而言之,我的設置是這樣的:

enter image description here

+1

這對我工作感謝:) – Shank