我已经好几个小时了,在网上搜索解决方案。我可以很高兴地说,这真的让我很生气。
打开“安装新软件”时,我收到““联系软件站点”遇到问题。
现在可以找到一些网站。有关详细信息,请参阅错误日志。”
这是错误日志:
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
这将解决问题。
关于Java Eclipse IDE - 存储库错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8771612/