尝试连接到 Eclipse 插件存储库时出现未知主机错误
我正在运行 Ubuntu 9.10,并尝试从我公司创建的存储库安装 Eclipse 3.5 的插件。这在过去在这个 Linux 机器上工作得很好,在我安装了 Windows XP 的笔记本电脑上也工作得很好。
我在 Eclipse 中收到的确切错误消息是:
Unknown Host: <location of repository>
org.eclipse.equinox.internal.provisional.p2.core.ProvisionException
有什么想法可能导致以前可以工作的东西不再工作吗?
谢谢!
编辑:另外,知道我可以很好地连接到其他 Eclipse 插件存储库可能很有用;看来只有我公司内部有问题。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这通常是由于 Eclipse 使用代理造成的,它不应该使用它来访问本地自托管存储库。
尝试将代理设置为“直接”(因此根本不选择任何代理条目)
(因此从“本机”或“手动”切换到“直接”)
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)
(so switch from "Native" or "Manual" to "Direct")
尝试其他链接。我在使用“法国巴黎 - 欧洲”的链接时遇到了同样的错误。但比我尝试使用 http://emonic.sourceforge.net/updatesite/nchc/site。 xml“台南,台湾 - 亚洲”,一切都工作得很好。
Try other link. I got the same error while using link for "Paris, France - Europe". But than I tried with http://emonic.sourceforge.net/updatesite/nchc/site.xml "Tainan, Taiwan - Asia" and all worked just fine.
可能是这个错误: https://bugs.launchpad.net /ubuntu/+source/sun-java6/+bug/486215
It's probably this bug: https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/486215