简体   繁体   English

在Eclipse Luna中安装新软件时,始终会出现错误:找不到包含以下内容的存储库:osgi.bundle,org.eclipse.net4j.jms.api?

[英]Install new software in Eclipse Luna gives always the error No repository found containing: osgi.bundle,org.eclipse.net4j.jms.api?

I am using STS (Spring Tool Suite) with Eclipse Luna 4.4 and I noticed that everytime I try to install something (for example Apache IvyDE, Web Tools Platform)via Help -> "Install new Software" I get the following error: 我在Eclipse Luna 4.4上使用STS(Spring工具套件),并且我注意到每次尝试通过帮助->“安装新软件”安装某些东西(例如Apache IvyDE,Web Tools Platform)时,都会出现以下错误:

An error occurred while collecting items to be installed
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.net4j.jms.api,3.1.100.v20140218-1709

How can I get rid of this error and install Eclipse's software and plugins? 如何摆脱该错误并安装Eclipse的软件和插件?

EDIT: here is what it looks like: 编辑:这是它的样子:

在此处输入图片说明

Then I click "Next", while eclipse loads: 然后我在Eclipse加载时单击“下一步”:

在此处输入图片说明

There's a "Cannot perform operation" message on the progress bar, and after that: 进度条上显示“无法执行操作”消息,然后:

在此处输入图片说明

Then I accept the license and after clicking finish I get the error: 然后,我接受许可证,单击完成后,出现错误:

在此处输入图片说明

In the same dialog you'll see an option Contact all update sites during install to find required software , un-check it, ignore the prompt and click on Continue . 在同一对话框中,您将看到一个选项, 在安装过程中联系所有更新站点以查找所需的软件 ,取消选中它,忽略提示,然后单击Continue

The above suggested solution worked when I've faced the problem. 当我遇到问题时,以上建议的解决方案有效。 For this issue people are referencing https://bugs.eclipse.org/bugs/show_bug.cgi?id=290782 , a colleague of mine picked a solution from this comment https://bugs.eclipse.org/bugs/show_bug.cgi?id=290782#c2 对于此问题,人们正在参考https://bugs.eclipse.org/bugs/show_bug.cgi?id=290782 ,我的一位同事从此评论https://bugs.eclipse.org/bugs/show_bug中选择了一种解决方案。 cgi?id = 290782#c2

While all this solution are general to repository not found, I've found a thread discussing an issue with the plugin you mentioned, did you check it out already unable to install CDT in Eclipse Luna . 尽管所有这些解决方案都是找不到存储库的通用方法,但是我发现了一个线程,讨论了您提到的插件的问题,您是否检查出它已经无法在Eclipse Luna中安装CDT The OP in this question solved the issue by upgrading from Java 1.6 to 1.8. 这个问题中的OP通过从Java 1.6升级到1.8解决了该问题。

I had the same exact problem, until I asked me the question: what provide the org.eclipse.net4j.jms.api package ? 我遇到了同样的问题,直到我问了我一个问题: 什么提供了org.eclipse.net4j.jms.api包?

I've found this file in some git repository that looks like a configuration file for Eclipse plugins. 我已经在一些git存储库找到了该文件,该存储库看起来像是Eclipse插件的配置文件。 What was interesting in that in the name of the provider: Eclipse Modeling Project. 有趣的是,以提供者的名义:Eclipse Modeling Project。

With that, and the help of DuckduckGo, I've that the update site for this artefact is: http://www.eclipse.org/modeling/updates/ 有了它,并在DuckduckGo的帮助下,我获得了该工件的更新站点为: http : //www.eclipse.org/modeling/updates/

  1. You should try to see what it contains using the "Install new software", after entering the URL in the first input field. 在第一个输入字段中输入URL之后,您应该尝试使用“安装新软件”查看其中包含的内容。 It is very slow to fetch 提取非常慢
  2. You should be able to install or update (that was what I was doing). 您应该能够安装或更新(这就是我正在做的)。

I guess someone at Eclipse.org had the idea to update the repository, and that the system is so bad there is no way to tell Eclipse to look from old URL to a new. 我猜想Eclipse.org的某个人有更新存储库的想法,而且该系统是如此糟糕,无法告诉Eclipse从旧的URL到新的URL。 I'd rather like to see a Eclipse Central Plugin Repository like there is a Maven Central Repository , but that's another story. 我希望看到一个Eclipse Central插件存储库,就像Maven Central存储库一样 ,但这是另一个故事。

I also had an issue like this, my error message was: 我也遇到这样的问题,我的错误消息是:

An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). 收集要安装的会话会话上下文时发生错误:(profile = epp.package.jee,phase = org.eclipse.equinox.internal.p2.engine.phases.Collect,operationnd =,action =)。 No repository found containing: osgi.bundle,org.eclipse.net4j.jms.api,3.1.100.v20140218-1709 找不到包含以下内容的存储库:osgi.bundle,org.eclipse.net4j.jms.api,3.1.100.v20140218-1709

In my case an inactive repository was responsible for the error. 就我而言,错误是由非活动存储库引起的。 By adding it to the Available Software Sites with Oracle Enterprise Pack for Eclipse and http://download.oracle.com/otn_software/oepe/12.1.3.5/luna/repository/ the error could be resolved. 通过将其添加到带有Eclipse的Oracle Enterprise Pack可用软件站点http://download.oracle.com/otn_software/oepe/12.1.3.5/luna/repository/中 ,可以解决该错误。

Ensure trailing ' / ' for all Available Software Sites 确保所有可用软件站点的末尾都为“ /

For the No repository found containing: osgi.bundle... problem I tried several options and the only one that worked was #2 in this answer . 对于No repository found containing: osgi.bundle...问题,我尝试了几种选择,而唯一可行的选择是此答案中的 #2。

  1. Help -> Install new software... 帮助->安装新软件...
  2. Click "Available Software Sites" 单击“可用软件站点”
  3. Ensure all the URLs have a trailing ' / ' (slash) 确保所有网址的末尾都有“ / ”(斜杠)
  4. Try installation/update again 再次尝试安装/更新

My version: Luna Service Release 2 (4.4.2) 我的版本:Luna Service Release 2(4.4.2)

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

相关问题 eclipse eclemma - 未找到包含以下内容的存储库:osgi.bundle,org.eclipse.eclemma - eclipse eclemma - No repository found containing: osgi.bundle,org.eclipse.eclemma 安装osgi.bundle; Eclipse的org.objectweb.asm 7.0.0 - install osgi.bundle; org.objectweb.asm 7.0.0 for eclipse Eclipse Thym 需要 'osgi.bundle; org.eclipse.jgit [3.0.0,5.0.0)' 但找不到 - Eclipse Thym requires 'osgi.bundle; org.eclipse.jgit [3.0.0,5.0.0)' but it could not be found 启动包org.eclipse.jetty.osgi.boot时出错(Eclipse中的OSGi Framework) - Error when starting bundle org.eclipse.jetty.osgi.boot (OSGi Framework in Eclipse) Eclipse luna显示错误“无法读取存储库” - Eclipse luna shows error “Unable to read repository at” 在Eclipse Luna中安装STS(春季)时出错 - Error when install STS (Spring) in Eclipse Luna 找不到包含以下内容的存储库:org.eclipse.update.feature,org.eclipse.emf.ecore - No repository found containing: org.eclipse.update.feature,org.eclipse.emf.ecore 安装时如何处理Eclipse的“找不到包含以下内容的存储库……”错误消息? - What to do about Eclipse's “No repository found containing: …” error messages when install? 将OSGI捆绑包导入eclipse - Importing an OSGI bundle into eclipse 引导错误包含org.eclipse.core.runtime包,但不是osgi.bundles出现故障 - Boot error contains org.eclipse.core.runtime bundle, but it isn't osgi.bundles at fault
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM