尝试安装谷歌插件 (GWT) 时在 Eclipse (Ganymede) 中出现“找不到存储库”错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1102627/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Getting "No Repository Found" error in Eclipse (Ganymede) while trying to install google plugins (GWT)
提问by seanyboy
I'm trying to install the Google Web Toolkit for Eclipse (Ganymede), and I'm getting the following error.
我正在尝试为 Eclipse (Ganymede) 安装 Google Web Toolkit,但出现以下错误。
An error occurred while collecting items to be installed
No repository found containing: org.eclipse.emf.common/osgi.bundle/2.4.0.v200808251517
No repository found containing: org.eclipse.emf.ecore/osgi.bundle/2.4.1.v200808251517
No repository found containing: org.eclipse.emf.ecore.change/osgi.bundle/2.4.0.v200808251517
No repository found containing: org.eclipse.emf.ecore.edit/osgi.bundle/2.4.1.v200808251517
No repository found containing: org.eclipse.emf.ecore.xmi/osgi.bundle/2.4.1.v200808251517
No repository found containing: org.eclipse.emf.edit/osgi.bundle/2.4.1.v200808251517
No repository found containing: org.eclipse.wst.common.emf/osgi.bundle/1.1.202.v200809111955
No repository found containing: org.eclipse.wst.common.emfworkbench.integration/osgi.bundle/1.1.201.v200808071700
No repository found containing: org.eclipse.wst.common.frameworks/osgi.bundle/1.1.200.v200805140020
No repository found containing: org.eclipse.wst.common.project.facet.core/osgi.bundle/1.3.3.v200809102124
No repository found containing: org.eclipse.wst.sse.core/osgi.bundle/1.1.302.v200808260045
No repository found containing: org.eclipse.wst.sse.ui/osgi.bundle/1.1.2.v200809120159
No repository found containing: org.eclipse.wst.validation/osgi.bundle/1.2.2.v200809050219
No repository found containing: org.eclipse.wst.xml.core/osgi.bundle/1.1.305.v200809120354
What could this error mean, and how do I install the plugins. It's a new install of Eclipse and Vista 64bit. I used "http://dl.google.com/eclipse/plugin/3.4" as the google plugin location.
这个错误意味着什么,我该如何安装插件。这是 Eclipse 和 Vista 64 位的新安装。我使用“ http://dl.google.com/eclipse/plugin/3.4”作为谷歌插件位置。
采纳答案by seanyboy
OK I got it.
好,我知道了。
I'd installed Eclipse Classic, and it didn't like it. Since then, I've uninstalled classic and installed "Eclipse Java EE" and the update worked.
我安装了 Eclipse Classic,但它不喜欢它。从那以后,我卸载了经典版并安装了“Eclipse Java EE”并且更新成功了。
回答by Jamie Flournoy
I had this problem today. I found this helpful linkwhich helped. Basically make sure all your sources' URLs end in a slash (/), and add them if they are missing.
我今天遇到了这个问题。我发现这个有用的链接很有帮助。基本上确保所有源的 URL 都以斜杠 (/) 结尾,如果它们丢失,请添加它们。
I also went through all the sites and clicked the Test Connection button (I think that's what it's called) on each one to see if there was something wrong, and they all returned a successful result.
我还浏览了所有站点并单击每个站点上的“测试连接”按钮(我认为这就是它的名称)以查看是否有问题,并且它们都返回了成功的结果。
After that, suddenly I was able to install the features and plugins that had failed with the "No repository found" errors before.
在那之后,突然间我能够安装之前因“未找到存储库”错误而失败的功能和插件。
回答by burtsevyg
In my case I have archive software sites witch be deleted and updater say about this. Check Windows -> Preferences -> Available Software Sites. In this list should not be archive sites witch deleted. Then restart eclipse.
就我而言,我有存档软件站点被删除,更新程序对此进行了说明。检查Windows -> 首选项 -> 可用软件站点。在这个列表中不应该被归档站点女巫删除。然后重新启动 eclipse。
回答by Karthik
I just clean eclipse and run it worked. in command prompt type eclipse -clean
我只是清理日食并运行它。在命令提示符下键入 eclipse -clean
This cleans the installation of eclipse and helps to run
这会清除 eclipse 的安装并有助于运行
回答by Firesh
No necessarily to do all those import export and stuff. Eclipse has a problem with itself. But it can be solved with a simple startup of
不一定要做所有这些进口出口之类的事情。Eclipse 本身有问题。但是可以通过简单的启动来解决
cmd> eclipse.exe -clean
cmd> eclipse.exe -clean
it will take awhile to startup but eventually it worked for me. coz partially sometimes eclipse has problem unzipping files or so n partial files unzipped.
启动需要一段时间,但最终它对我有用。因为有时 Eclipse 有时会在解压缩文件时出现问题,或者解压缩了 n 个部分文件。
回答by Firesh
I had the same problem, what fixed it is to change the updating system that Eclipse used. I am using Eclipse 3.5 and the default updating system is P2 (http://wiki.eclipse.org/Equinox_p2_Getting_Started). Try going into Prefereces->General->Capabilities-> check the box next to Classic Update. This fixed it for me.
我遇到了同样的问题,解决方法是更改 Eclipse 使用的更新系统。我使用的是 Eclipse 3.5,默认更新系统是 P2 ( http://wiki.eclipse.org/Equinox_p2_Getting_Started)。尝试进入 Preferencees->General->Capabilities-> 选中 Classic Update 旁边的框。这为我修好了。
回答by Robert Munteanu
Looks like your eclipse mirror was corrupt. Use another one.
看起来您的日食镜像已损坏。使用另一个。
回答by Kachwahed
To be honest it doesn't work for me, until I removed all oracle's url from Available Software Sites as motioned in eclipse forum, I still have some URLs without / at the end though.
老实说,它对我不起作用,直到我按照eclipse 论坛中的指示从可用软件站点中删除了所有 oracle 的 url 之前,我仍然有一些 URL 在末尾没有 / 。
回答by t?rzsmókus
I got this error when trying to update the Google plugin (clicking on the 'updates available' popup).
尝试更新 Google 插件时出现此错误(单击“可用更新”弹出窗口)。
Reviewing my update sites, it turned out that the main Google update site(http://dl.google.com/eclipse/plugin/3.5) was missing, although I doubt I had removed it. Simply re-addingit solved the problem.
查看我的更新站点,结果发现主要的Google 更新站点(http://dl.google.com/eclipse/plugin/3.5)丢失了,尽管我怀疑我是否已将其删除。只需重新添加它即可解决问题。
回答by tsh
I got a similar error message while installing the Jboss Tools.
我在安装 Jboss Tools 时收到了类似的错误消息。
In the install dialog, I unchecked the option "Contact all update sites during install to find required software" which solved the problem.
在安装对话框中,我取消选中“在安装过程中联系所有更新站点以查找所需软件”选项,从而解决了问题。