What to do about Eclipse's “No repository foun

2019-01-02 19:05发布

I'm running Eclipse's Helios EE bundle on Linux, to which I added the subversive plugins, the m2e maven integration and the mylin connector for Trac. For the last couple of weeks I've been trying to install updates, and every time I get back a message like

No repository found containing <something or other>

The latest one was

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.team.svn,0.7.9.I20110318-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.core,0.7.9.I20110523-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.help,0.7.9.I20110318-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.mylyn,0.7.9.I20110318-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.ui,0.7.9.I20110523-1700
No repository found containing: org.eclipse.update.feature,org.eclipse.team.svn,0.7.9.I20110523-1700
No repository found containing: org.eclipse.update.feature,org.eclipse.team.svn.mylyn,0.7.9.I20110523-1700
No repository found containing: org.eclipse.update.feature,org.eclipse.team.svn.resource.ignore.rules.jdt,0.7.9.I20110523-1700

What does it all mean and how do I fix that? If Eclipse has been able to contact the repositories to check for new files why isn't it able to download those files from those some repositories? Or does the error message mean something entirely different?

29条回答
笑指拈花
2楼-- · 2019-01-02 19:37

None of the other answers worked for me (Windows 10, Eclipse Neon). Running Eclipse as Administrator fixed it.

查看更多
无与为乐者.
3楼-- · 2019-01-02 19:37

In my case I was getting the above mentioned errors only for a particular update site and eclipse-java-mars-R. Other update sites were allowing me to update, and, using other versions of Eclipse I was able to install from the update site which was causing problems for my Java Mars R Eclipse.

Deleting the cache folder in /Users/myname/.eclipse/org.eclipse.oomph.p2 solved the problem (my coworker, not me, came up with this solution)

查看更多
零度萤火
4楼-- · 2019-01-02 19:38

Me helped the following solution:

  1. Go to Help->Software Updates, then select the Available Software tab and click the Manage Sites button
  2. Use the Export button to export the sites to a bookmarks.xml file
  3. Open the bookmarks.xml file in your favorite text editor, and add a trailing “/” to any of the site urls which are missing the “/” or remove on the end. Save the changes.
  4. Back in the Manage Sites window within Eclipse, select all of the sites and click the Remove button
  5. Now, click Import and load in the edited bookmarks.xml file

It was taken from this link Devon Hillard's Digital Sanctuary

查看更多
无与为乐者.
5楼-- · 2019-01-02 19:38

I had the same problem but while doing updates. I solved it by

  • In Window->Preferences->Install/Updates->Available Software Sites, mark the site that is causing the problem and hit the Reload button.
查看更多
不流泪的眼
6楼-- · 2019-01-02 19:39

I had the same issue with the bellow error:

session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,oracle.eclipse.tools.rest.lib,8.4.0.201510191754

And the solution is to disable Oracle Enterprise Pack for eclipse

How to disable this package see the picture bellow: enter image description here

查看更多
看风景的人
7楼-- · 2019-01-02 19:40

In the end, something does have to be removed. I would like to add to the other answers: be sure to check for conflicts. For me, the EMF (Eclipse Modeling Framework) had somehow gotten out of hand as I had multiple versions listed in windows/preferences. Removing the conflict allowed for my updates to proceed as normal.

查看更多
登录 后发表回答