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:48

For me I had Spring IDE installed on Eclipse Oxygen. During check for updates it would find updates, then it would fail with the above error.

I then went to the Eclipse Marketplace, clicked on Installed tab and noticed Spring did not come up (it was there before and is currently installed).

Then I searched for Spring IDE (Tools) clicked install, then it notified that some packages were already installed and just needed to be updated.

After completing the install of Spring Tools and restarting, I was able to check for updates and complete the normal software updates.

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

On Juno (Build id: 20130225-0426), exporting update sites from 'Available software Sites", fixing the trailing "/" in the exported xml as described above, removing all sites and importing the fixed xml worked for me. Described here

查看更多
唯独是你
4楼-- · 2019-01-02 19:50

I just got it when installing Maven support in Eclipse for Java EE developers Helios. Solution was just to run Eclipse as Administrator, update went fine after

查看更多
后来的你喜欢了谁
5楼-- · 2019-01-02 19:50

Probably, my experience with this bug will be needed for someone (including myself too... :) ).

So, I could to add one thing to the mentioned here answers. I mean playing with the trailing "/" symbol in the options, because playing with it does not work in my case. But when I have deleted the .eclipse/org.eclipse.oomph.p2/cache and the .eclipse/org.eclipse.oomph.setup/cache dirs (names are given relatively to the home dir) and then have done the well known procedure with "/", it started to work.

查看更多
萌妹纸的霸气范
6楼-- · 2019-01-02 19:51

What you most likely has encountered is a bug in Eclipse.

Luckily the solution is simple enough, remove the update site and install it again.

查看更多
长期被迫恋爱
7楼-- · 2019-01-02 19:53

For Oxygen, see Eclipse Community Forums:

"In my case Oxygen had update URL for Buidship as: http://download.eclipse.org/buildship/updates/e46/releases/2.x

Note: that e46 is Neon version per https://github.com/eclipse/buildship/blob/master/docs/user/Installation.md

once I updated URL to Oxygen version (e47): http://download.eclipse.org/buildship/updates/e47/releases/2.x

update was successful"

查看更多
登录 后发表回答