Eclipse - 下载 content.jar ... 安装插件时超时

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8367856/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 17:24:08  来源:igfitidea点击:

Eclipse - Downloading content.jar.. times out while installing plugins

eclipseeclipse-indigo

提问by peakit

I am using Eclipse Indigo (3.7)and facing issues while installing plugins onto it. Following are the steps I followed:

Eclipse Indigo (3.7)在安装插件时正在使用并遇到问题。以下是我遵循的步骤:

1. Add the download site
2. Select the plugin to be installed
3. Clicked on Next - Eclipse shows 'Calculating requirements and dependencies'
4. It shows Fetching content.jar from http://download.eclipse.org/releases/indigo/201106220900/content.jar
5. After running for some 5 mins it shows 'Read timed out'. Error reading from http://download.eclipse.org/releases/indigo/201106220900/content.jar

Note that I have a good internet connectivity. And I am able to download the file manually from browser but eclipse is facing issues in downloading from internet. Does anyone know how to avoid this problem?

请注意,我的互联网连接良好。我可以从浏览器手动下载文件,但 eclipse 在从 Internet 下载时遇到了问题。有谁知道如何避免这个问题?

Platform:Windows7 x64; Eclipse Indigo SR1

Platform:Windows7 x64;日食靛蓝 SR1

回答by peakit

After googling for couple of hours(!), I did the following:

在谷歌搜索几个小时后(!),我做了以下事情:

  1. Plugin installation will be faster if we disable the Contact all update sites during install to find the required softwarecheckbox. This was causing eclipse to contact allupdate sites to find the plugin.
  2. Disabled AVG 2012 for sometime. Seems like this was causing problems to eclipse while downloading content from internet http://forums.avg.com/us-en/avg-forums?sec=thread&act=show&id=175473
  1. 如果我们禁用Contact all update sites during install to find the required software复选框,插件安装会更快。这导致 eclipse 联系所有更新站点以查找插件。
  2. 禁用 AVG 2012 一段时间。似乎这在从 Internet http://forums.avg.com/us-en/avg-forums?sec=thread&act=show&id=175473下载内容时导致了日食问题

Hope this helps.

希望这可以帮助。