Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 421
greenJavaDev Avatar asked Feb 21 '16 16:02

greenJavaDev


1 Answers

Solved it by changing the repository address to:

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

like image 164
Clon Avatar answered Oct 14 '22 00:10

Clon