Eclipse an error occurred while collecting items to be installed

I'm getting the error given below when I try to install the upgrade from Eclipse and it goes like half way and then throw the error. An error occurred while collecting items to be installed session

I’m getting the error given below when I try to install the upgrade from Eclipse and it goes like half way and then throw the 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=).
Unable to write to repository: file:/C:/Program%20Files/eclipse/.
C:Program Fileseclipsepluginsorg.jboss.netty_3.2.4.Final-201112281337.jar (Access is denied)

Kindly provide the solution.

Thanks

Balwant Kumar Singh's user avatar

asked Mar 3, 2012 at 6:29

Nick Kahn's user avatar

Nick KahnNick Kahn

19.5k91 gold badges270 silver badges404 bronze badges

4

On Windows 7, the Program Files directory is protected so apps can’t automatically write there. The simplest solution I’ve heard is just to install Eclipse into a user-writable location instead. For example, C:JavaEclipse

You should be able to just move your entire eclipse directory, there’s no registry entries or anything else that ties Eclipse to the place where you extracted it.

[Edit]
Have you checked that the directory it is complaining about i actually writable? Other than that, I really don’t have any ideas. I haven’t worked on Windows in several years and never with Win7. My only other suggestion is to just download the latest Eclipse, install it to a new location (do NOT intall it over top of your existing Eclipse), and point it to your existing workspace.

Mohammad Faisal's user avatar

answered Mar 3, 2012 at 15:54

E-Riz's user avatar

1

I just solved this problem by unchecking Read only checkbox of the Program Files/eclipse folder on win7.

Apply to all files and folders.

Mohammad Faisal's user avatar

answered Jun 17, 2014 at 14:17

Nukium's user avatar

NukiumNukium

1461 silver badge4 bronze badges

1

I had also the ADT Bundle that had the HTTP as update url.
Changing it to HTTPS solved the problem for me.

answered May 15, 2013 at 20:07

Yoraco Gonzales's user avatar

2

None of the above worked for me.

Instead, I tried installing the plugins I needed via the Eclipse Market Place, and that worked without issue.

  1. Click «Help» Menu.
  2. Click «Eclipse Marketplace…» menu item.
  3. Enter the name of the plugin you want.
  4. Click «Install» when the plugin appears in the Marketplace List.
  5. Restart Eclipse.

answered Jun 21, 2014 at 13:38

if you do not wish to change the eclipse directory, then start eclipse as administrator (right click run as administrator) and install the feature again. it worked for me.

answered Jan 16, 2017 at 22:02

suomi-dev's user avatar

suomi-devsuomi-dev

81812 silver badges22 bronze badges

I got this error on my ubuntu box until I ran eclipse as root and installed from there:

$ gksudo eclipse

Eclipse was trying to download the packages to /usr/lib/* where I don’t have write permissions

answered Oct 29, 2012 at 23:59

vitriolix's user avatar

vitriolixvitriolix

3523 silver badges9 bronze badges

Changing from https:// to http:// worked for me

answered Dec 3, 2013 at 20:45

Daniel Shalev's user avatar

1

Installig Eclispe ADT from market place solved this problem for me.

answered Jan 6, 2015 at 11:08

Tristate's user avatar

TristateTristate

1,3001 gold badge15 silver badges30 bronze badges

I solved the problem very easily.

Go to Control Panel -> Network and Sharing Center -> Windows Firewall -> Turn off Windows Firewall

And try to install again and see the magic :)

answered Jun 19, 2015 at 14:33

Faruk Omar's user avatar

Faruk OmarFaruk Omar

1,1432 gold badges14 silver badges21 bronze badges

In my case I entered:

Error Log — found «An error occurred while collecting items to be installed» — right click and select «Open Log». From there I know what goues wrong(in my case PMD). I solve the problem in one project and all works ok.

answered Dec 28, 2015 at 15:32

SkorpEN's user avatar

SkorpENSkorpEN

2,3611 gold badge21 silver badges28 bronze badges

If there are any proxy networks are configured remove them till plugins are installed

answered Apr 27, 2018 at 9:24

Mahender Reddy Yasa's user avatar

Содержание

  1. Eclipse an error occurred while collecting items to be installed
  2. Breadcrumbs
  3. Eclipse an error occurred while collecting items to be installed
  4. Breadcrumbs

Eclipse an error occurred while collecting items to be installed

Community

Participate

Eclipse IDE

Home » Newcomers » Newcomers » An error occurred while collecting items to be installed (Can not install update in STS)

An error occurred while collecting items to be installed [message #1717193] Thu, 10 December 2015 16:03
Thomas Jaeger
Messages: 1
Registered: December 2015
I’m getting the below error every day I start STS. Any ideas how to solve this? I’m using the following on my Mac OS X:

Version: 3.7.1.RELEASE
Build Id: 201510041213
Platform: Eclipse Mars.1 (4.5.1)

Источник

Eclipse an error occurred while collecting items to be installed

Community

Participate

Eclipse IDE

Breadcrumbs

Home » Newcomers » Newcomers » Another Eclipse update problem. (An error occurred while collecting items to be installed)

Another Eclipse update problem. [message #1802829] Sun, 17 February 2019 17:32
Michael Moser
Messages: 62
Registered: October 2012
Location: ZГјrich, Switzerland
Another typical eclipse problem: when starting up my Photon installation I get an indication that updates are available. I click that popup and select the two available updates, accept the license and hit ok (or update?) — and what do I get?

Error updating software:

An error occurred while collecting items to be installed
session context was:(profile=U__eclipse_dev_photon_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.epp.mpc.core,1.7.4.v20190206-1730
No repository found containing: osgi.bundle,org.eclipse.epp.mpc.core.win32,1.7.4.v20190206-1730
No repository found containing: osgi.bundle,org.eclipse.epp.mpc.help.ui,1.7.4.v20190206-1730
No repository found containing: osgi.bundle,org.eclipse.epp.mpc.ui,1.7.4.v20190206-1749
No repository found containing: osgi.bundle,org.eclipse.epp.mpc.ui.css,1.7.4.v20190206-1730
No repository found containing: org.eclipse.update.feature,org.eclipse.epp.mpc,1.7.4.v20190206-1749

I installed Photon using the eclipse installer by Oomph.
What am I missing? How do I get this thing to update itself?

[Updated on: Sun, 17 February 2019 17:42]

Re: Another Eclipse update problem. [message #1803717 is a reply to message #1803381] Thu, 07 March 2019 13:34
Matt Billingham
Messages: 1
Registered: March 2019
If you have marketplace installed, open it, and the first item should be the marketplace, with a handy update button.

Click on that. finish, and the update is applied correctly.

I got exactly the same errors as you did via standard Eclipse software update.

Re: Another Eclipse update problem. [message #1810431 is a reply to message #1804341] Sun, 11 August 2019 13:24
Michael Moser
Messages: 62
Registered: October 2012
Location: ZГјrich, Switzerland
Coming back to this:
I may be crystal clear to others but not to me. When I open Marketplace I get the following:

Where is here that mentioned «update button»? Pardon my ignorance — and maybe I should see an optician — but I can’t see any here!

And the other point I still don’t see: I hadn’t been trying to update anything I had installed via marketplace but the basic Eclipse installation (Eclipse for Java developers). Why should I see marketplace for this?

  • Attachment: Screenshot Eclipse Marketplace.png
    (Size: 55.56KB, Downloaded 10943 times)

[Updated on: Sun, 11 August 2019 13:31]

Re: Another Eclipse update problem. [message #1822472 is a reply to message #1802829] Sat, 07 March 2020 18:18
Eric Chiu
Messages: 1
Registered: March 2020
Re: Another Eclipse update problem. [message #1823004 is a reply to message #1810436] Wed, 18 March 2020 01:23
John Clevenger
Messages: 1
Registered: March 2020
First, thanks to @Ed Merks for bothering to spend the time entering a more detailed description than just «it’s obvious».

Just to be certain, my understanding of the issue (and resolution) is as follows:
-MarketPlace Client (MPC) added a reference to an update site to my/our Eclipse installation
-That update site was not being handled properly by the normal Eclipse update method
-The solution is to first update your MPC version, THEN re-do the Eclipse update.

Does this sound about right?

Re: Another Eclipse update problem. [message #1823009 is a reply to message #1823004] Wed, 18 March 2020 05:58
Ed Merks
Messages: 32628
Registered: July 2009
Yes, that sounds about right. There was a long thread on this topic:

The underlying case was determined to be that MPC added the content metadata repository automatically but it did not add the artifact metadata repository automatically.

Источник

Adblock
detector

I wanted to install an update in Eclipse with Help > Install new Software or Help > Check for updates. I pointed to the update site, selected what I wanted to install, but then during installation I received an error dialog like this:

Installing Software has encountered a problem

Installing Software has encountered a problem

😦

It reported this details text:

An error occurred while collecting items to be installed
 session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
 No repository found containing: org.eclipse.update.feature,com.freescale.processorexpert.pex-for-kinetis-patch1.sp,1.0.0.b150505
 No repository found containing: binary,com.freescale.processorexpert.pex-for-kinetis-patch1.sp_root,1.0.0.b150505

It happened to me especially with Kinetis Design Studio v3.0.0, trying to update with the latest patches and features from the Freescale web site. It turned out that some sites somehow had that problem, but not every Eclipse update site. But what helped was to disable  the option ‘Contact all update sites during install to find required software‘:

Disabled Contact all update sites during install to finid required software

Disabled Contact all update sites during install to find required software

So this option is not only to disable for better installation performance (see “Reduce Eclipse ‘Install New Software’ Installation Time“), but as well to fix some strange installation problems too :-).

It looks like this is a known problem in Eclipse, see http://stackoverflow.com/questions/6470802/what-to-do-about-eclipses-no-repository-found-containing-error-messages.

Happy Installing 🙂

Collected 3 artifacts for http://download.eclipse.org/releases/photon in 6.29s
Collecting 1 artifacts from http://findbugs.cs.umd.edu/eclipse-daily/
Downloading edu.umd.cs.findbugs.plugin.eclipse
Mirrored 1 artifacts from http://findbugs.cs.umd.edu/eclipse-daily/ at 0kb/s with 1 failures
Collected 1 artifacts for http://findbugs.cs.umd.edu/eclipse-daily/ in 0.564s
An error was detected while performing the engine operation and the changes are being rolled back. See the log for details.
ERROR: org.eclipse.equinox.p2.engine code=4 An error occurred while collecting items to be installed
  at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:280)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl$3.commit(ProfileTransactionImpl.java:547)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:340)
  at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:729)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3324)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3252)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3233)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3133)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:575)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:701)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
  ERROR: org.eclipse.equinox.p2.engine code=0 session context was:(profile=_Users_edityomurti_lispflowmapping-master5_Eclipse.app_Contents_Eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
  ERROR: org.eclipse.equinox.p2.transport.ecf code=1200 Artifact not found: http://findbugs.cs.umd.edu/eclipse-daily/plugins/edu.umd.cs.findbugs.plugin.eclipse_3.0.2.20170921-25417ff.jar.
  java.io.FileNotFoundException: http://findbugs.cs.umd.edu/eclipse-daily/plugins/edu.umd.cs.findbugs.plugin.eclipse_3.0.2.20170921-25417ff.jar
    at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryStatusHelper.checkFileNotFound(RepositoryStatusHelper.java:297)

Actually I couldn’t find the log in the Wizard UI, where do I should take a look?

Skip to content

ERROR STACK

An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.emf.common,2.11.1.v20160208-0816
No repository found containing: osgi.bundle,com.google.guava,15.0.0.v201403281430
No repository found containing: org.eclipse.update.feature,org.eclipse.emf.common,2.11.1.v20160208-0816
No repository found containing: osgi.bundle,org.eclipse.m2e.archetype.common,1.6.2.20150902-0001
No repository found containing: osgi.bundle,org.eclipse.m2e.core,1.6.2.20150902-0002
No repository found containing: osgi.bundle,org.eclipse.m2e.maven.indexer,1.6.2.20150902-0001
No repository found containing: osgi.bundle,org.eclipse.m2e.maven.runtime,1.6.2.20150902-0001
No repository found containing: osgi.bundle,org.eclipse.m2e.maven.runtime.slf4j.simple,1.6.2.20150902-0001
No repository found containing: osgi.bundle,org.eclipse.m2e.profiles.core,1.6.2.20150902-0002
No repository found containing: osgi.bundle,org.eclipse.m2e.workspace.cli,0.3.1
No repository found containing: osgi.bundle,org.slf4j.api,1.7.2.v20121108-1250

SOLUTION:-

Operating System:- Windows 7, 64Bit

Check the location of eclipse, do check if you have read/write access to the location where eclipse is placed.

Resolution and finding:-

The directory is not accessible to me fully and has some admin rights required to make the write changes so the new bundles aren’t automatically getting written there.

You can resolve this either to get new eclipse installed in some fully accessible directory, or

Make the changes in the same directory so that you have all the admin rights available.

Khyati has more than 10 years of experience in quality assurance engineering.
Khyati has worked extensively on Manual and Automation testing of various technologies and domains like data quality. From last 6 years, She is leading QA Activities on Agile/Scrum projects while continuously contributing in playing role as a Scrum master, continuous integration, iteration planning, facilitating requirement analysis and closure.

On automation front, She has explored gui, web services and mobile automation.

Tools/ Technologies used:-

Selenium/WebDriver, Core Java, JUnit, TestNG, Maven, SoapUI. Jenkins, Appium, Selenium backed and selenium remote driver.

Have delve into android phone/tab of verison upto 6 (marshmallow), ios phone/i pad, and mobile websites
View all posts by Khyati Sehgal

Upgrading Eclipse

Learn why it’s important to keep your Eclipse IDE up-to-date.

I recently tried to install the Spring tool 4 plugin on Eclipse only to find that it was not compatible with my existing version of Eclipse (Neon). This was actually why it was not showing up in the Eclipse marketplace as well. Because of this issue, I realized why it is so important to maintain Eclipse and keep it up-to-date.

As Java developers, we rely heavily on Eclipse, hence it makes sense to update it frequently. In this article, we will explain the process for upgrading your existing Eclipse IDE.

You may also like: 
15 Productivity Tips for Eclipse Java IDE Users

Why Not Install the Newest Version From Scratch?

I did think about installing the newest version of Eclipse rather than performing an upgrade. But then I realized this would be too tedious since I would have to set up a new workspace, add in all the tools I’d used previously, set my preferred short cut keys, proxy,  etc.

Also, Eclipse has frequent upgrades, so reinstalling an IDE this frequently would not be practical. The good news for developers is that upgrades come with the option to upgrade the workspace as well.

Cheers to the Eclipse community for that!

How to Upgrade

Without further ado, here is what you need to do to successfully upgrade Eclipse.

Spoiler: I will touch upon the issues I faced in the next section.

  1. On the toolbar, navigate to Window > Install New Software. Click on Add and add the following URL for the latest build of Eclipse: https://download.eclipse.org/releases/latest/ .
  2. Alternatively, you could add the specific build of Eclipse you want from https://download.eclipse.org/releases/ such as: https://download.eclipse.org/releases/photon/ or https://download.eclipse.org/releases/2019-09/
  3. Once the site is added to Eclipse, you can now proceed with the upgrade by navigating to Window > Help > Check for Updates. This basically goes through all the sites under Window > Preferences > Install/Update > Available Software Sites and gathers update details from the ones that are selected.
  4. You can now see a pop-up listing the various plugins/tools that require an update.
  5. You have the option to select the ones that you need, or you can leave it as is. Then, click Next.
  6. Click Next after reviewing the details.
  7. You should now see the review license page. Click on the radio button «I accept ….» and click Finish.

Issues Faced

Here is a gist of the major issues I faced when upgrading Eclipse, and how I resolved them.

Artifact Not Found

The most popular type of issues I faced was: An error occurred while collecting items to be installed....Artifact not fou.

Here is one such example:

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.recommenders.apidocs,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.apidocs.rcp,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.calls,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.calls.rcp,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.chain.rcp,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.completion.rcp,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.constructors,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.constructors.rcp,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.coordinates,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.coordinates.rcp,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.injection,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.jayes,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.jayes.io,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.jdt,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.models,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.models.rcp,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.net,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.overrides,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.overrides.rcp,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.rcp,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.subwords.rcp,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.types.rcp,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.utils,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.utils.rcp,2.5.4.v20180909-1132
Multiple problems occurred while downloading.
Artifact not found: http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.api_1.0.3.v20170405-0725.jar.pack.gz.
http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.api_1.0.3.v20170405-0725.jar.pack.gz
Artifact not found: http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.api_1.0.3.v20170405-0725.jar.
http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.api_1.0.3.v20170405-0725.jar
Multiple problems occurred while downloading.
Artifact not found: http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.connector.basic_1.0.3.v20170405-0725.jar.pack.gz.
http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.connector.basic_1.0.3.v20170405-0725.jar.pack.gz
Artifact not found: http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.connector.basic_1.0.3.v20170405-0725.jar.
http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.connector.basic_1.0.3.v20170405-0725.jar
Multiple problems occurred while downloading.
Artifact not found: http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.impl_1.0.3.v20170405-0725.jar.pack.gz.
http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.impl_1.0.3.v20170405-0725.jar.pack.gz
Artifact not found: http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.impl_1.0.3.v20170405-0725.jar.
http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.impl_1.0.3.v20170405-0725.jar
Multiple problems occurred while downloading.
Artifact not found: http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.spi_1.0.3.v20170405-0725.jar.pack.gz.
http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.spi_1.0.3.v20170405-0725.jar.pack.gz
Artifact not found: http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.spi_1.0.3.v20170405-0725.jar.
http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.spi_1.0.3.v20170405-0725.jar
Multiple problems occurred while downloading.
Artifact not found: http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.transport.file_1.0.3.v20170405-0725.jar.pack.gz.
http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.transport.file_1.0.3.v20170405-0725.jar.pack.gz
Artifact not found: http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.transport.file_1.0.3.v20170405-0725.jar.
http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.transport.file_1.0.3.v20170405-0725.jar
Multiple problems occurred while downloading.
Artifact not found: http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.transport.http_1.0.3.v20170405-0725.jar.pack.gz.
http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.transport.http_1.0.3.v20170405-0725.jar.pack.gz
Artifact not found: http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.transport.http_1.0.3.v20170405-0725.jar.
http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.transport.http_1.0.3.v20170405-0725.jar
Multiple problems occurred while downloading.
Artifact not found: http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.util_1.0.3.v20170405-0725.jar.pack.gz.
http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.util_1.0.3.v20170405-0725.jar.pack.gz
Artifact not found: http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.util_1.0.3.v20170405-0725.jar.
http://download.eclipse.org/recommenders/updates/stable/plugins/org.apache.maven.resolver.util_1.0.3.v20170405-0725.jar
No repository found containing: org.eclipse.update.feature,org.eclipse.recommenders.rcp.feature,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.statics,2.5.4.v20180909-1132
No repository found containing: osgi.bundle,org.eclipse.recommenders.statics.rcp,2.5.4.v20180909-1132

What this is trying to convey is that, as part of the upgrade, we need to install the recommenders plugin. However, none of the repositories added earlier contain this plugin. (For those who are unfamiliar, recommenders is what assists with auto-complete in Eclipse.)

The fix for this is to configure the functional site by modifying the Available Software Site‘s location of the recommenders plugin to the correct (current/active) one.

The correct repository link can be obtained by a quick Google search. In this case, the correct location is https://repo.eclipse.org/content/shadows/releases.unzip/org/eclipse/recommenders/stable/2.5.4/stable-2.5.4.zip-unzip/.

Eclipse Marketplace Not Available in Eclipse

This was a shocker to me as the marketplace is where I get all of my plugins. But, it turns out that even this needs to be installed explicitly. The same process applies here just like any other Eclipse plugin. Add the link http://download.eclipse.org/mpc/photon to the list of Available Software Sites and ask Eclipse to Check for new updates. You can find further details here.

Missing ‘tools.jar’

Missing 'tools.jar'

This occurs when Eclipse is started on a JRE rather than a JDK. And since Eclipse is an IDE, it surely requires jars from the JDK as well. A simple way to check what JRE/JDK is being used by Eclipse is by navigating to Help > About Eclipse IDE > Installation Details > Configuration and searching for the parameter  -vm. If this is not the right JDK you want Eclipse to start with, explicitly add the installation path in the  eclipse.ini (as shown below) file kept at the root of the Eclipse installation folder.

-vm
path/to/jdk/bin

Note: Ensure that the argument  -vm is added before the  -vmargs argument.

Closing Statements

This wraps up this post on upgrading, and troubleshooting, Eclipse. Here is the official link for Eclipse upgrades.

Please share your thoughts in the comments, and don’t forget to give this post a like!

Further Reading

15 Productivity Tips for Eclipse Java IDE Users

[DZone Refcard] Getting Started With Eclipse

[DZone Refcard] Eclipse Tools for Spring

Opinions expressed by DZone contributors are their own.

  • Remove From My Forums
  • Question

  • Hi Team,

    I have download the TSF Plugin for eclipse from 

    https://www.microsoft.com/en-us/download/details.aspx?id=30661

    when i am trying to install it into the eclipse it gives me error.

    This is the error:

    An error occurred while collecting items to be installed
    session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
    Multiple problems occurred while downloading.
    Unable to read repository at http://download.eclipse.org/releases/helios/201102250900/aggregate/plugins/org.eclipse.hyades.probekit_4.3.2.v201101271120.jar.pack.gz.
    Server returned HTTP response code: 403 for URL: http://download.eclipse.org/releases/helios/201102250900/aggregate/plugins/org.eclipse.hyades.probekit_4.3.2.v201101271120.jar.pack.gz
    Unable to read repository at http://mirror.ufs.ac.za/eclipse/releases/helios/201102250900/aggregate/plugins/org.eclipse.hyades.probekit_4.3.2.v201101271120.jar.
    Read timed out

    ************Sorry i am not able to attach a screenshot**************

    regards

    vincent

Answers

  • Hi vincent,

    That is the order version, please install the newer version:
    https://www.microsoft.com/en-us/download/details.aspx?id=47727.

    Follow up these steps below to install plugin:

    To install the plug-in from the update site archive:

    1. Use the link on this page to download TFSEclipsePlugin-UpdateSiteArchive-14.0.3.zip.
    2. Open Eclipse.
    3. On the Help menu, choose Install New Software.
    4. The Install dialog box appears.
    5. Choose the Add button.
    6. The Add Repository dialog box appears.
    7. For the name, enter «Local TFS plug-in for Eclipse update archive».
    8. Choose the Archive button.
    9. The Repository archive dialog box appears.
    10. Find and select the downloaded «TFSEclipsePlugin-UpdateSiteArchive-14.0.3.zip» file as the File name.
    11. Choose the Open button.
    12. Choose the OK button.
    13. In the list of features in the Install dialog box, select the check box that corresponds to the
      Team Foundation Server Plug-in for Eclipse.
    14. Choose the Next button
      two
      times.
    15. If you agree to the Microsoft Software License Terms, accept them and then choose the
      Finish button.
    16. Restart Eclipse when you are prompted.

    Regards

    Starain


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click
    HERE to participate the survey.

    • Marked as answer by

      Thursday, September 8, 2016 1:28 AM

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Echo ошибка записи недопустимый аргумент
  • Echo write error no space left on device
  • Echo vocaloid rus remix error sans скачать
  • Echo mysqli error
  • Eberspacher hydronic d5wz сброс ошибок

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии