关于Eclipse下载插件时候报错问题的处理
问题描述
这里Eclipse安装SVN插件时,Install 的过程中报错
error信息如下:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.cvs,1.4.100.v20150204-1700
No repository found containing: osgi.bundle,org.eclipse.emf.ecore.edit,2.9.0.v20150123-0452
No repository found containing: osgi.bundle,org.eclipse.emf.edit,2.10.1.v20150123-0452
No repository found containing: osgi.bundle,org.eclipse.jdt,3.10.1.v20150204-1700
No repository found containing: osgi.bundle,org.eclipse.jdt.apt.core,3.3.600.v20150122-0735
No repository found containing: osgi.bundle,org.eclipse.jdt.compiler.apt,1.1.0.v20150122-0735
No repository found containing: osgi.bundle,org.eclipse.jdt.compiler.tool,1.0.300.v20150114-1827
No repository found containing: osgi.bundle,org.eclipse.jdt.core,3.10.2.v20150120-1634
No repository found containing: osgi.bundle,org.eclipse.jdt.debug,3.8.102.v20150115-1323
No repository found containing: osgi.bundle,org.eclipse.jdt.launching,3.7.102.v20141111-0953
......
......
No repository found containing: binary,org.eclipse.rcp.configuration_root.win32.win32.x86,1.0.3.v20150204-1745
No repository found containing: binary,org.eclipse.rcp_root,4.4.2.v20150204-1700
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.common_core.feature,3.6.3.v201501292352
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.common_ui.feature,3.6.3.v201501292352
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.xml_core.feature,3.6.3.v201501211904
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.xml_ui.feature,3.6.3.v201501292352
问题处理
进入Available Software Sites 修改右侧注册数据中配置
(Window - Preferences - Install/Update - Available Software Sites)
新增编辑三条数据并勾选,单击OK 保存即可。
(这个name 名称自定义,不配置name 也可以)
Name Location name01 http://download.eclipse.org/mylyn/releases/3.12 name02 http://eclipse.tmatesoft.com/svnkit/1.7.x/ subclipse http://subclipse.tigris.org/update_1.8.x
然后我这里就可以完成插件的下载安装。
解释说明
所加的这三个location,是报错的地址。此处下载SVN 插件,install下add 的插件下载地址。一路Next 然后install 报错。就是把这个报错的location 添加到Available Software Sites 中勾选后重新下载插件即可。