Eclipse - 插件安装错误

时间:2009-08-25 06:24:38

标签: eclipse-plugin

我有Eclipse版本: 版本:3.4.1(木卫三) 构建ID:M20080911-1700

我在为eclipse安装任何插件时遇到错误。我没有遇到这个问题,但现在我突然无法安装任何插件,如PMD,JADclipse等。

我得到的错误是:

An error occurred while collecting items to be installed
  No repository found containing: org.aspectj.ajde/osgi.bundle/1.6.4.20090106083800
  No repository found containing: org.aspectj.runtime/osgi.bundle/1.6.4.20090106083800
  No repository found containing: org.aspectj.weaver/osgi.bundle/1.6.4.20090106083800
  No repository found containing: org.eclipse.ajdt.core/osgi.bundle/1.6.3.20090122141228
  No repository found containing: org.eclipse.ajdt.doc.user/osgi.bundle/1.6.3.20090122141228
  No repository found containing: org.eclipse.ajdt.examples/osgi.bundle/1.6.3.20090122141228
  No repository found containing: org.eclipse.ajdt/org.eclipse.update.feature/1.6.3.20090122141228
  No repository found containing: org.eclipse.ajdt.source/osgi.bundle/1.6.3.20090122141228
  No repository found containing: org.eclipse.ajdt.source/org.eclipse.update.feature/1.6.3.20090122141228
  No repository found containing: org.eclipse.ajdt.ui/osgi.bundle/1.6.3.20090122141228
  No repository found containing: org.eclipse.aspectj/osgi.bundle/1.6.3.20090122141228
  No repository found containing: org.eclipse.contribution.visualiser/osgi.bundle/2.2.0.20090122141228
  No repository found containing: org.eclipse.contribution.xref.core/osgi.bundle/1.6.3.20090122141228
  No repository found containing: org.eclipse.contribution.xref.ui/osgi.bundle/1.6.3.20090122141228
  No repository found containing: org.eclipse.ajdt.mylyn.ui/osgi.bundle/1.6.3.20090122141228
  No repository found containing: org.eclipse.contribution.weaving.jdt/osgi.bundle/1.6.3.20090122141228

我尝试采取以下步骤但不起作用 -

•Software Updates -> Manage sites -> Export (bookmarks.xml)

•exit eclipse

•go to your eclipse/configuration/.settings/org.eclipse.equinox.p2.*.prefs and delete files (after backup)

•Restart eclipse

•re-import bookmarks.xml

有什么建议吗?

1 个答案:

答案 0 :(得分:-1)

这是Eclipse中的common error with p2< 3.5。 See my blog for a solution