Spring Tool Suite 3.6.1 won't update

gechenique picture gechenique · Sep 13, 2014 · Viewed 20.9k times · Source

Updating the Spring Tool Suite in Eclipse Luna, I get the following error since I turned off the option to download updates for Eclipse 3.7:

**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: osgi.bundle,org.springsource.ide.eclipse.commons.quicksearch,3.6.1.201408250654-RELEASE
No repository found containing: osgi.bundle,org.springsource.sts,3.6.1.201408250824-RELEASE
No repository found containing: org.eclipse.update.feature,org.springsource.ide.eclipse.commons.quicksearch.feature,3.6.1.201408250654-RELEASE
No repository found containing: org.eclipse.update.feature,org.springsource.sts,3.6.1.201408250824-RELEASE
No repository found containing: binary,org.springsource.sts.ide.executable.win32.win32.x86_64,3.6.1.201408250824-RELEASE-e43
No repository found containing: org.eclipse.update.feature,org.springsource.sts.package,3.6.1.201408250824-RELEASE-e43
No repository found containing: binary,org.springsource.sts.package_root,3.6.1.201408250824-RELEASE-e43**

The version I have installed is:

Spring Tool Suite 
Version: 3.6.0.RELEASE
Build Id: 201407101106
Platform: Eclipse Luna (4.4)**

Does anyone know how to fix this?

Answer

Khai Dinh picture Khai Dinh · Sep 15, 2014

The first bullet point from Martin's answer fixed my issue. I had multiple update sites for SpringSource, including e3.7, e4.3, and e4.4. Steps I took to fix this:

  1. Select Window -> Preferences from menu
  2. Expand Install/Update and select Available Software Sites
  3. Uncheck update sites for SpringSource, except e4.4, and save

To test the fix:

  1. Select Help -> Check for Updates

Hope this helps. Thanks Martin for pointing this situation out.