简体   繁体   English

日食火星 - eclipse.org.equinox.p2.core.provisionexception

[英]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我在Windows 8.1 Pro pc 及其更新站点中安装了 eclipse mars,如下所示

Mars火星

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

The Eclipse Project Updates Eclipse 项目更新

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

but when i try to reload, it raises following但是当我尝试重新加载时,它会引发以下问题错误

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在 eclipse.ini 中添加-Djava.net.preferIPv4Stack=true

  2. changed my改变了我的网络设置 to manual手动

  3. Unchecked "contact all software sites during install to find required software" option under install new software取消选中安装新软件下的在安装过程中联系所有软件站点以查找所需软件”选项

Note : Firewall is disabled注意:防火墙已禁用

This is know bug see Bug 470900 - Eclipse Mars repository for EPP causing problems and Bug 471528 - No repository found这是已知错误,请参阅错误 470900 - EPP 的 Eclipse Mars 存储库导致问题错误 471528 - 未找到存储库
Just delete delete the following:只需删除删除以下内容:
$HOME/.eclipse/org.eclipse.oomph.p2/cache directory! $HOME/.eclipse/org.eclipse.oomph.p2/cache目录!

in windows:在窗口中:

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

只需尝试没有“s”安全加密“http only”的相同 URL

Remove below lines from your eclipse.ini fileeclipse.ini文件中删除以下

-Doomph.update.url= http://download.eclipse.org/oomph/updates/milestone/latest -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/ -Doomph.redirection.index.redirection=index:/-> http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/

Worked for me for Eclipse 2020在 Eclipse 2020 中为我工作

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM