2015-07-21 144 views
0

當我嘗試使用Eclispe Market的地方安裝新軟件時,我總是得到下面的錯誤。 我使用的eclispe版本是適用於Web開發人員的Eclipse Java EE IDE。 版本:靛藍服務發佈2Eclipse MarketPlace不開心

 MarketplaceDiscoveryStrategy failed with an error 
    Unable to read repository at http://marketplace.eclipse.org/featured/api/p?product=org.eclipse.epp.package.jee.product&os=win32&java.version=1.8.0_05&client=org.eclipse.epp.mpc.core&product.version=1.4.2.20120131-1457&runtime.version=3.7.0.v20110110&ws=win32&nl=en_US. 

讀超時

我知道是因爲代理設置的這個問題。

當我在google中搜索並發現我們需要在Pereference - > General - > Internet Connection中設置代理設置。

enter image description here

即使我在eclipse.ini文件中設置代理服務器信息嘗試其他方式

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient 
    -Dhttp.proxyPort=**** 
    -Dhttp.proxyHost=proxy.****.com 
    -Dhttp.proxyUser=****** 
    -Dhttp.proxyPassword=****** 

-Dhttp.nonProxyHosts =本地主機| 127.0.0.1

我可以知道我在哪裏在製作eclispe中的porxy設置時犯了一個錯誤。 任何人都可以幫助我。

+0

設置-vmargs後,我想你需要定義HTTPS代理了。如果你沒有一個使用相同的http。 – Stefan

+0

@Stefan在https的代理設置之後,仍然是這樣 – bharathi

回答

0

嘗試將代理設置爲手動eclipse.ini

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4 
    -Dhttp.proxyPort=**** 
    -Dhttp.proxyHost=proxy.****.com 
    -Dhttp.proxyUser=****** 
    -Dhttp.proxyPassword=****** 
    -vmargs 
    -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4 
    -Dhttp.proxyPort=**** 
    -Dhttp.proxyHost=proxy.****.com 
    -Dhttp.proxyUser=****** 
    -Dhttp.proxyPassword=****** 
相關問題