17

I'm trying to install the m2Eclipse plugin, but when I try to add the site under available software sites I am getting this error:

"No repository found at http://download.eclipse.org/technology/m2e/releases"

With this stack trace:

org.eclipse.equinox.p2.core.ProvisionException: No repository found at http://download.eclipse.org/technology/m2e/releases.
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:395)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:653)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob.doLoad(LoadMetadataRepositoryJob.java:117)
at org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob.runModal(LoadMetadataRepositoryJob.java:102)
at org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler$2.runModal(PreloadingRepositoryHandler.java:83)
at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

This also occurs for any other repositories I try to add.

Based on this stack overflow question some fixes are:

  1. Fix proxy settings and verify you are able to connect to the internet with eclipses browser
  2. Remove and add site again (or Reload)
  3. Start eclipse with these properties: -vmargs -Djava.net.preferIPv4Stack=true
  4. Deleting the cache directory "\eclipse\p2\org.eclipse.equinox.p2.repository\cache"

I was able to do (1) Fix proxy settings and connect to the repository in the browser. It is even able to connect to the repository through the browser:

successful internal browser

But none of these solutions allowed me to install software when going through the Help -> Install new Software -> process. Does anyone have any more information or troubleshooting advice for this issue?

Community
  • 1
  • 1
greenJavaDev
  • 997
  • 4
  • 12
  • 24

3 Answers3

29

Solved it by changing the repository address to:

https://download.eclipse.org/technology/m2e/releases/latest

You can change it in Help -> "Install new Software..." -> "Manage" button. Clicking on it will take you to the Software Sites management dialog. Here you can add, delete or edit software Sites.

Marco Sulla
  • 15,299
  • 14
  • 65
  • 100
Clon
  • 1,035
  • 8
  • 12
  • 4
    How and where to change this URL? – Mehraj Malik Apr 22 '22 at 06:38
  • 3
    @MehrajMalik the dialog for "Install new Software..." (help menu) has a "Manage" button. Clicking on it will take you to the Software Sites management dialog. Here you can add, delete or edit Sofware Sites. – Clon Sep 19 '22 at 08:22
  • OMG, you saved a thousand year of my life. This answer should be marked as accepted answer. Thank you – Anti Mafia Mar 07 '23 at 12:32
2

Go to eclipse->help->Install new softwares->add->https://download.eclipse.org/technology/m2e/releases/latest and press enter then it will show Maven integration for eclipse. Kindly click on next and install it. Relaunch the eclipse after installing. you can able to see maven option

0

I resolved by decreasing the selenium version from 4.1.4 to 4.1.3