Java Eclipse IDE - 存储库错误

标签 java eclipse repository

我已经好几个小时了,在网上搜索解决方案。我可以很高兴地说,这真的让我很生气。

打开“安装新软件”时,我收到““联系软件站点”遇到问题。

现在可以找到一些网站。有关详细信息,请参阅错误日志。”

这是错误日志:

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

有什么想法吗? 我想安装 MercurialEclipse 但它找不到存储库,默认设置相同。

最佳答案

我遇到了同样的问题。并在俄罗斯网站上找到了解决方案。 在 -vmargs 行下的文件 eclipse.ini 中添加以下行:

-Djava.net.preferIPv4Stack=true

这将解决问题。

Site with explanation

关于Java Eclipse IDE - 存储库错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8771612/

相关文章:

eclipse - 使用 maven/eclipse 停止自动构建

maven - 本地 Nexus 存储库充当某些 Maven Artifact 的代理

SVN分支问题

java - 数组中的元素

java - 如何在没有内存问题的情况下使用 REST 模板 Spring MVC 获取大型 JSON

java - Java 中的球物理,能量不起作用

version-control - 公共(public) Perforce 开源存储库?

java - 如何用java从客户端系统读取文件?我必须使用 wsdl 吗?

python - eclipse 和红色 : unable to communicate with XML-RPC server

java - 我的 Activity 在未输入 OnSaveInstanceState 句柄的情况下关闭