问题:
使用eclipse中提供的Help菜单》Install New software,已填入正确的链接地址,但是在下载过程中出现错误。
Some sites could not be found. See the error log for more detail. Unable to read repository athttp://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 athttp://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
解决方案:
更改eclipse.ini文件。
在-vmargs下面增加这一行:
-Djava.net.preferIPv4Stack=true
ok,问题解决了!
本文介绍了在Eclipse中通过Install New Software下载资源时遇到网络超时错误的解决办法。错误提示包括无法找到某些站点,如http://download.eclipse.org/webtools/repository/indigo等,原因是JVM_Bind。解决方法是在eclipse.ini文件中添加一行配置。
1301

被折叠的 条评论
为什么被折叠?



