Java Eclipse IDE - 存储库错误
我已经熬了几个小时了,在网上寻找解决方案。我可以很高兴地说,这真的让我很生气。
打开“安装新软件”后,我收到““联系软件站点”遇到问题。
现在可以找到一些站点。有关更多详细信息,请参阅错误日志。”
这是错误日志:
无法找到某些网站。有关更多详细信息,请参阅错误日志。 无法读取存储库 http://download.eclipse.org/webtools/repository/indigo/content.xml 。 无法分配请求的地址:JVM_Bind 无法读取存储库 http://download.eclipse.org/eclipse/updates/3.7/content.xml 。不能 分配请求的地址:JVM_Bind 无法读取存储库 http://download.eclipse.org/mylyn/releases/indigo/content.xml 。不能 分配请求的地址:JVM_Bind 无法读取存储库 http://download.eclipse.org/releases/indigo/content.xml 。无法分配 请求地址:JVM_Bind
有什么想法吗? 我想安装 MercurialEclipse,但它找不到存储库,默认情况下也是如此。
I've been up for hours now, searching online for a solution. I can happily say, this has really pissed me off.
Upon opening 'Install New Software' I get "'Contacting Software Sites' has encountered a problem.
Some sites could now be found. See the error log for more detail."
Here's the error log:
Some sites could not be found. See the error log for more detail.
Unable to read repository at
http://download.eclipse.org/webtools/repository/indigo/content.xml.
Cannot assign requested address: JVM_Bind Unable to read repository at
http://download.eclipse.org/eclipse/updates/3.7/content.xml. Cannot
assign requested address: JVM_Bind Unable to read repository at
http://download.eclipse.org/mylyn/releases/indigo/content.xml. Cannot
assign requested address: JVM_Bind Unable to read repository at
http://download.eclipse.org/releases/indigo/content.xml. Cannot assign
requested address: JVM_Bind
Any ideas?
I want to install MercurialEclipse but it cannot find the repository, same for the defaults.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(12)
我也有同样的问题。并在俄罗斯网站上找到了解决方案。
在文件 eclipse.ini 的 -vmargs 行下添加以下行:
这将解决问题。
带有说明的网站
I had the same problem. And found solution on russia site.
In file eclipse.ini under line -vmargs add this line:
This will resolve problem.
Site with explanation
我也遇到过同样的问题。我已经解决了禁用该网站的问题:
窗口 → 首选项 → 安装/更新 → 可用软件网站
这里是网站可以使用的选项有一个勾(已启用)。您必须找到导致问题的站点并将其禁用。
我希望这会有用。
I have encountered the same problem. I have resolved disabling the site using:
Window → Preferences → Install/Update → Available software Site
Here the site that can be used have a tick (enabled). You must find the site that caused the problems and disabled them.
I hope this could be useful.
我遇到了同样的问题,并通过在安装过程中禁用
McAffee Host IntrusionDetection
程序解决了该问题。我注意到一个额外的症状,即我无法使用以下 Eclipse 菜单导航步骤使用 Eclipse 内部 Web 浏览器 功能浏览 Internet:
I encountered the same problem and solved it by disabling the
McAffee Host Intrusion Detection
program during the installation.I noticed an additional symptom that I wasn't able to browse the Internet using the Eclipse Internal Web Browser feature using below Eclipse Menu navigational steps:
我过去在 Eclipse 中安装新软件时也遇到过同样的问题。
就我而言,这始终是我的 Eclipse 代理设置的问题。
日食>首选项>一般>网络连接
确保您的代理设置配置正确。如果您在大学或办公室网络上,您可以获取管理员的代理详细信息。就我而言,我必须配置 HTTP、HTTPS 和 SOCKS。
SOCKS 要求您输入用户名和密码。
注意:如果您的网络用户名或密码发生更改,您将必须进行更新。
就我而言,我必须将“活动提供商”下拉列表从“直接”更改为“手动”,
这解决了我的所有问题
更多信息请访问 http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-net-preferences.htm
I have had the same problem in the past when installing new software in Eclipse.
In my case it has always been a problem with my Eclipse Proxy settings.
Eclipse > Preferences > General > Network Connections
Make sure you have your proxy settings configured correctly. If you are on a college or office network you can get the Proxy details of the administrator. In my case I had to configure the HTTP, HTTPS and the SOCKS.
The SOCKS requires that you input your username and password.
NOTE: If your network username or password changes you will have to update this.
In my case I had to change the "Active Provider" drop down from 'Direct' to 'Manual'
This solved all my problems
More info at http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-net-preferences.htm
我遇到了同样的问题,为了解决它,我执行了以下步骤:
单击选中的每一行,一次一个,在窗口的右下角,它会告诉您资源是否可用。如果该资源不可用,则取消选中它。然后我添加了以下资源站点,这能够修复错误。
名称:综合市场存储库
位置:http://marketplace.eclipse.org/repo
希望这有帮助...
I had the same issue, to resolve it, I preformed the following steps:
click on each row that is checked, one at a time and at the bottom right side of the window it will tell you if the resource is available or not. If that resource is not available then uncheck it. I then added the following resource site and this was able to fix the error.
Name:Composite Marketplace Repository
Location:http://marketplace.eclipse.org/repo
HOPE THIS HELPS...
这是在黑暗中拍摄的,可能没有帮助,但是您是否尝试过以下操作:
这是这篇文章的复制和粘贴< /a>.
This is a shot in the dark and might not help but, have you tried the following:
This is a copy and paste from this post.
如果嵌入式浏览器可以工作但更新不起作用,您可能只是在 64 位 Eclipse 上使用 32 位 Java。下载 32 位版本,看看是否有帮助。为我工作。
If the embedded browser works but updates will not work you might just be using a 32 bit Java on a 64 bit eclipse. Download the 32-bit version and see if that helps. Worked for me.
我也遇到了同样的问题,但这里没有任何效果。我发现问题是 openjdk 和 oracle-java 版本的问题...结果我安装了 6-8 的所有版本...我不确定哪一个解决了问题,但安装完所有版本后其中问题已得到解决。希望这有帮助
I also encountered the same problem and nothing here worked. What I found the problem to be was an issue with the versions of openjdk and oracle-java...as a result I installed all versions from 6-8...I'm not sure which one fixed the issue but after installing all of them the problem was resolved. Hope this helps
我遇到了同样的问题,我检查了所有已安装浏览器的代理设置......其中一个浏览器(我的情况是 IE 8 )正在使用代理设置来执行以下测试站点公司 ...........
我取消选中那个......重新启动了我的日食,现在它工作正常............
I was having the same problem and I checked my proxy setting for all the browsers which was installed ......... One of the browser(IE 8 for my case ) was using the proxy setting to execute the testing sites of the company ...........
I unchecked that one ......... restarted my eclipse and now its working fine ..........
我的解决方案是:
窗口 → 首选项 → 安装/更新 → 可用软件站点
编辑有问题的站点->删除站点行上“https”中的“s”!
使用卢娜。
My solution was:
Window → Preferences → Install/Update → Available software Site
edit the problematic sites-> remove the 's' from 'https' on the site lines!
using Luna.
这是
无法读取http存储库 的参考://download.eclipse.org/releases/indigo
你能通过 Eclipse 连接到互联网吗?
打开内部网络浏览器。在 Eclipse 中:窗口 ->显示视图->其他->一般:内部网络浏览器。
查找任何正常地址,是否有效?
您可以连接到另一个更新站点吗?尝试例如 Eclipse Emma: http://update.eclemma.org/ 你在那里看到什么了吗?
您的代理偏好是什么?转到窗口 ->偏好->一般:网络连接。
活动提供程序:
指定打开连接时要使用的设置配置文件。选择 Direct 提供程序会导致打开所有连接,而无需使用代理服务器。选择“手动”会导致使用 Eclipse 中定义的设置。在某些平台上,还有一个可用的本机提供程序,选择此提供程序会导致使用在操作系统中发现的设置。
如果互联网在 Eclipse 之外工作正常,请尝试更改为 Native。之后,尝试直接。
我遇到过更新站点无法加载的问题,然后我不得不将其删除并再次添加。这会强制 Eclipse 重新读取站点的内容,即使它有缓存的副本。因此,如果您仍然无法连接到 Indigo 更新站点,但其他一切正常,请尝试一下。转到窗口 ->首选项->安装/更新:可用的软件站点。然后删除并添加靛蓝位点。请记住复制地址,以便您可以再次添加。
正如@lostiniceland 在下面的评论中所建议的,这是实现上述目标的一种更简单的方法:
转到首选项 ->安装更新 ->可用软件站点 =>选择该条目并单击右侧的“重新加载”按钮。当您有用于测试自定义插件的本地更新站点时,这有时也会很有帮助
this is reference of
Unable to read repository at http://download.eclipse.org/releases/indigo
Can you connect to internet at all through Eclipse?
Open the internal webbrowser. In Eclipse: Window -> show view -> Other -> General: Internal web browser.
Look up any normal adress, is it working?
Can you connect to another update site? Try for example Eclipse Emma: http://update.eclemma.org/ Do you see anything there?
What are your proxy preferences? Go to Window -> preferences -> General: Network connections.
The active provider:
Specifies the settings profile to be used when opening connections. Choosing the Direct provider causes all the connections to be opened without the use of a proxy server. Selecting Manual causes settings defined in Eclipse to be used. On some platforms there is also a Native provider available, selecting this one causes settings that were discovered in the OS to be used.
If internet is working fine outside of Eclipse, try changing to Native. After that, try Direct.
I have encountered problems where an update site would not load, then I had to remove it and add it again. This forces Eclipse to reread the contents of the site even if it has a cached copy. So, if you still get no connection to the indigo update site, but everything else is working, try that. Go to Window -> Preferences -> Install/update: Available Software sites. Then remove and add the indigo site. Just remember to copy the adress so you can add it again.
As suggested in a comment below by @lostiniceland, this is a simpler way to achieve the above:
Goto Preferences -> Install Update -> Available Software Sites => select the entry and click the "Reload" button to the right. This is sometimes also helpful when you have a local updatesite for testing custom plugins
我的 Eclipse 安装:
我研究并遵循了网上的许多建议,但没有任何帮助。
除了这一点:
在 shell 提示符中,键入
"export http_proxy=http://proxy-rzf:8080"(您自己的代理服务器和端口)
完成!
如果您随后转到 eclipse“网络连接”设置,您将看到类似图像的内容:
我希望我可以帮助别人。我花了很多时间寻找和尝试。
My Eclipse Installation:
I worked out and followed many of the suggestions in the web and nothing helped.
Except that one:
In the shell prompt, type
"export http_proxy=http://proxy-rzf:8080" (your own proxy server and port)
DONE!!!
If you then go to the eclipse "Network connections" settings you will see something like the image:
I hope i could help somebody with that. It cost me a lot of hours searching and trying.