在eclipse中添加插件的时候经常会遇到 读取不到的报错情况,如
Unable to read repository at http://download.eclipse.org/releases/indigo
解决方案:
1.删除eclipse下面的缓存文件夹及文件
\eclipse\p2\org.eclipse.equinox.p2.repository\cache
2.进入eclipse中
- Preferences -> Install Update -> Available Software Sites => select the entry
3.选中需要的链接,点击"Reload"
4.重新加载插件。