Eclipse 3.5无法安装插件 [英] Eclipse 3.5 Unable to install plugins
问题描述
我正在尝试它在我的办公室工作,所以后面的代理。迄今为止,我获得的最好的建议是关于NTLM代理的已知问题的建议: http://wiki.eclipse.org / ECF_Filetransfer_Support_for_NTLMv2_Proxies 。我提出了提示,但现在我有一个新的错误消息:Eclipse找不到所有的存储库...例如,这里是我现在用Galileo更新站点本身:
org.eclipse.equinox.internal.provisional.p2.core.ProvisionException:在http://download.eclipse.org/releases/galileo找不到存储库。
在org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:380)
在org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager。 loadRepository(AbstractRepositoryManager.java:606)
在org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
在org.eclipse.equinox.internal。 p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:88)
在org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.loadMetadataRepository(ProvisioningUtil.java:88)
在org.eclipse.equinox.internal.provisional.p2.ui.QueryableMetadataRepositoryManager.doLoadRepository(QueryableMetadataRepositoryManager.java:55)
在org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepositoryManager.loadRepository(QueryableRepositoryManager .java:195)
在org.eclip se.equinox.internal.provisional.p2.ui.QueryableRepositoryManager.loadAll(QueryableRepositoryManager.java:108)
在org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler $ 2.run(PreloadingRepositoryHandler.java: 71)
在org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
使用 http://download.eclipse.org/eclipse/updates/3.5 或 http://download.eclipse.org/tools/ mylyn / update / e3.4 / 以及任何网站:没有人可以使用。
请有人帮忙!
PS:以下更多细节:
我也有与第三方软件相同的问题,例如: http://www.epic-ide.org/updates/testing/site.xml ... 。相同的错误信息。
如果我去首选项>安装/更新>可用的软件站点,点击任何网站,在测试连接我得到一个ProvisionException与此错误消息(当我点击详细信息):
无法在 http://download.eclipse .ORG /技术/ EPP /包/伽利略/ site.xml的。
无法通过 http://download.eclipse读取存储库。组织/技术/ EPP /包/伽利略/ site.xml的。
服务器重定向太多次(20)
解决方案是:
将以下行添加到您的 eclipse.ini
文件( -vmargs
之前):
(在3.5; 3.5.1; 3.6.2上验证)
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors = org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyPort = 8080
-Dhttp.proxyHost = myproxy
-Dhttp.proxyUser = mydomain\myusername
-Dhttp.proxyPassword = mypassword
-Dhttp.nonProxyHosts = localhost | 127.0.0.1
,即代理支持。
我们最后使用Pulse: http://www.poweredbypulse.com/
Pulse内置了几个插件的支持,但是您可以轻松添加第三方插件,甚至添加本地jar文件。
奇怪的是,它并不总是使用内置的Eclipse功能,所以有时候Eclipse变得困难(就像我们的代理业务一样),你可以用Pulse来解决它。
I really don't know what's going on with Eclipse 3.5 (3.5.0 or 3.5.1, same issues), but it's been now 2 days that I'm struggling with Eclipse to find a way to make the plugins installation work via the "Install New Software screen"!!! I have visited a lot of forums and blogs, tried many solutions but in vain: each time the current problem disappears and a new one appears.
I'm trying to make it work at my office, so behind proxy. The best advice I got so far is the one regarding the known issue with NTLM proxies: http://wiki.eclipse.org/ECF_Filetransfer_Support_for_NTLMv2_Proxies. I put in place the hint, but now I have a new error message: Eclipse cannot find the repositories at all... For instance here is what I get now with the Galileo update site itself:
org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: No repository found at http://download.eclipse.org/releases/galileo.
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:380)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:606)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:88)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.loadMetadataRepository(ProvisioningUtil.java:88)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableMetadataRepositoryManager.doLoadRepository(QueryableMetadataRepositoryManager.java:55)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepositoryManager.loadRepository(QueryableRepositoryManager.java:195)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepositoryManager.loadAll(QueryableRepositoryManager.java:108)
at org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler$2.run(PreloadingRepositoryHandler.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Samething with http://download.eclipse.org/eclipse/updates/3.5, or http://download.eclipse.org/tools/mylyn/update/e3.4/ and whatever the site: no one works.
Please somebody help!
PS: Some more details below:
I have the same issue with third party software too... for instance: http://www.epic-ide.org/updates/testing/site.xml.... same error message.
If I go to Preferences > Install / Updates > Available Software Sites, click on whatever the site and on Test Connection I get a ProvisionException with this error message (when I click on details):
Unable to read repository at http://download.eclipse.org/technology/epp/packages/galileo/site.xml. Unable to read repository at http://download.eclipse.org/technology/epp/packages/galileo/site.xml. Server redirected too many times (20)
the solution is:
add following lines to your eclipse.ini
file (before -vmargs
):
(verified on 3.5 ; 3.5.1; 3.6.2)
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyPort=8080
-Dhttp.proxyHost=myproxy
-Dhttp.proxyUser=mydomain\myusername
-Dhttp.proxyPassword=mypassword
-Dhttp.nonProxyHosts=localhost|127.0.0.1
We had tons of issues here, namely with the proxy support. We ended-up using Pulse: http://www.poweredbypulse.com/
Pulse has built-in support for a few plugin, however, you can add third-party plugin and even local jar file quite easily.
Strangely it does not always use the built-in Eclipse feature, so sometimes when Eclipse become difficult ( like in our case for the proxy business ), you can work-around it with Pulse.
这篇关于Eclipse 3.5无法安装插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!