安装eclipse插件的时候报错:No repository found containing

时间:2022-01-20 11:33:40
网上查到的解决办法:
Java代码   安装eclipse插件的时候报错:No repository found containing
  1. No repository found containing: org.eclipse.update.feature,org.eclipse.equinox.p2.user.ui.source,1.1.2.R35x_v20091106-7u6FbQFUAtsCKD5Fxz0qz0fb2932  
  2.   
  3. No repository found containing: org.eclipse.update.feature,org.eclipse.equinox.p2.user.ui.source,1.1.2.R35x_v20091106-7u6FbQFUAtsCKD5Fxz0qz0fb2932  
  4.   
  5. No repository found containing: osgi.bundle,org.eclipse.ui.workbench.texteditor.source,3.5.1.r352_v20100105  
  6.   
  7. No repository found containing: osgi.bundle,org.eclipse.equinox.p2.repository.source,1.0.1.R35x_v20100105  
 

google之后发现解决方法,

 

@see http://*.com/questions/511367/error-when-updating-eclipse/519937#519937

  1. Export sites to bookmarks.xml
  2. Edit this file and append a forward slash at the end of every URL where it is missing.
  3. Delete all sites
  4. Re-import edited bookmarks.xml
  5. Sigh with relief as it works.

或者把所有site都删掉,只重新加入需要的



本人应用过程:

安装eclipse插件的时候报错:No repository found containing


1.在上图的界面把用到的站点export出来,生成一个xml文件,然后remove eclipse中的站点;

2.在生成的Xml文件中在路径后添加一个/,保存这个xml文件;

3.将这个Xml文件通过上图界面import进来;

4.重复之前下载插件的步骤,选择修改后的站点即可。