Eclipse IDE for Enterprise Java Developers.
Version: 2020-03 (4.15.0)
Build id: 20200313-1211
When I attempt to update Eclipse, I encountered the following error,
An error occurred while collecting items to be installed
session context was:(profile=C__Applications_eclipse_latest_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.eclemma.core,3.1.3.202003132300
No repository found containing: osgi.bundle,org.eclipse.eclemma.doc,3.1.3.202003132300
No repository found containing: osgi.bundle,org.eclipse.eclemma.ui,3.1.3.202003132300
No repository found containing: org.eclipse.update.feature,org.eclipse.eclemma.feature,3.1.3.202003132300
The solution to this problems is to update it via EclEmma's update channel at http://update.eclemma.org/. We can use the two methods to realize this solution,
- Update EclEmma via adding an Eclipse repository for EclEmma
- Click the "Help" menu
- Select the "Install New Software" submenu
- Click "Add" button to add a new repository
- In the popup windows, enter a name of the repository, e.g., EclEmma, and enter the URL, http://update.eclemma.org/
- Confirm it by clicking at the "Add" button on the popup window
- Update EclEmma via Eclipse Marketplace
- Click the "Help" menu
- Select the "Eclipse Marketplace" submenu
- Search "EclEmma" in the "Eclipse Marketplace"
- Eclipse should now show "EclEmma for Java Code Coverage" as "installed"
- Click at "installed", and then click at "update".