未知主机错误尝试连接时连接到Eclipse插件库 [英] Unknown Host error when attempting to connect to connect to Eclipse plugin repository
问题描述
我在Eclipse中得到的确切的错误消息是:
未知主机:<存储库的位置>
org.eclipse.equinox.internal.provisional.p2.core.ProvisionException
任何想法可能导致以前不工作的东西?
谢谢!
编辑:另外,知道我可以连接到其他eclipse插件库可能是有用的;似乎只有我公司的内部问题才是问题。
通常是由于Eclipse使用的代理,它应该
尝试将代理设置为直接(因为根本没有选择任何代理条目)
首选项>一般>网络连接,
(所以从Native或Manual切换到Direct)
I am running Ubuntu 9.10 and I'm attempting to install a plugin for Eclipse 3.5 from a repository that my company created. This worked in the past on this linux box and also works just fine on my laptop which has Windows XP installed.
The exact error message I'm getting in Eclipse is:
Unknown Host: <location of repository>
org.eclipse.equinox.internal.provisional.p2.core.ProvisionException
Any ideas what might be causing something that used to work not to work anymore?
Thanks!
EDIT: Also, it might be useful to know that I can connect to other eclipse plugin repositories fine; it seems that only my company's internal one is the problem.
It is usually due to a proxy used by Eclipse where it shouldn't use it to access a local self-hosted repo.
Try to set the proxy to "Direct" (hence selecting no Proxy entries at all)
Preferences > General > Network Connections,
(so switch from "Native" or "Manual" to "Direct")
这篇关于未知主机错误尝试连接时连接到Eclipse插件库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!