ArK
ArK

Reputation: 21068

Eclipse Mars - eclipse.org.equinox.p2.core.provisionexception

I installed eclipse mars in my windows 8.1 Pro pc and its update site as below

Mars

http://download.eclipse.org/releases/mars

The Eclipse Project Updates

http://download.eclipse.org/eclipse/updates/4.5

but when i try to reload, it raises following error

No repository found at http://download.eclipse.org/releases/mars.
eclipse.org.equinox.p2.core.ProvisionException

i tried following solutions but none works for me.

  1. added -Djava.net.preferIPv4Stack=true in eclipse.ini

  2. changed my network settings to manual

  3. Unchecked "contact all software sites during install to find required software" option under install new software

Note : Firewall is disabled

Upvotes: 8

Views: 14742

Answers (3)

Mike ASP
Mike ASP

Reputation: 2333

Remove below lines from your eclipse.ini file

-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest

-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/

Worked for me for Eclipse 2020

Version: 2020-03 (4.15.0) Build id: 20200313-1211

Upvotes: 0

Mohamed Clio
Mohamed Clio

Reputation: 11

Just try the same URL without the "s" secure encryption "http only"

Upvotes: 0

Sumit Singh
Sumit Singh

Reputation: 15896

This is know bug see Bug 470900 - Eclipse Mars repository for EPP causing problems and Bug 471528 - No repository found
Just delete delete the following:
$HOME/.eclipse/org.eclipse.oomph.p2/cache directory!

in windows:

C:\Users\yourusername\.eclipse\org.eclipse.oomph.p2\cache

Upvotes: 1

Related Questions