简体   繁体   English

无法安装Eclipse的JBossAS工具插件

[英]Can't install JBossAS Tools Plugin for Eclipse

I'm using Eclipse Luna v4.4.2 and I'm trying to install JBoss Tools (Luna) v4.2.3 plugin specifically JBossAS Tools module. 我正在使用Eclipse Luna v4.4.2,并且试图安装JBoss Tools(Luna)v4.2.3插件,特别是JBossAS Tools模块。 I tried all the suggestions in this post and none of them worked: 我想在所有的建议, 这个帖子并没有他们的工作:

  1. As Mauro said: "you have to remove and re-add the Eclipse Project Update site, so that its metadata are re-calculated." 正如Mauro所说:“您必须删除并重新添加Eclipse Project Update网站,以便重新计算其元数据。” - works as workaround -解决方法
  2. Another workaround I found, is to edit the pre-defined URL link by adding just a trailing “/” to the update site URL. 我发现的另一个解决方法是,通过在更新站点URL后面仅添加尾随“ /”来编辑预定义的URL链接。
  3. The third workaround I discoverd accidentaly is to do nothing, but to uncheck the 'Contact all update sites during install to find required software' before checking the URL link. 我偶然发现的第三个解决方法是什么都不做,而是在检查URL链接之前取消选中“在安装过程中联系所有更新站点以找到所需的软件”。

This is the error I got: 这是我得到的错误:

*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=).
No repository found containing: osgi.bundle,org.jboss.ide.eclipse.archives.core,3.5.3.Final-v20150325-0035-B129
No repository found containing: org.eclipse.update.feature,org.jboss.ide.eclipse.archives.feature,3.5.3.Final-v20150325-0035-B129
No repository found containing: osgi.bundle,org.jboss.ide.eclipse.archives.jdt.integration,3.5.3.Final-v20150325-0035-B129
No repository found containing: osgi.bundle,org.jboss.ide.eclipse.archives.ui,3.5.3.Final-v20150325-0035-B129
No repository found containing: osgi.bundle,org.jboss.ide.eclipse.archives.webtools,3.0.3.Final-v20150325-0035-B129...*

Pierre Jean's comment seemed to work for me. Pierre Jean的评论似乎对我有用。

  1. Export all sites to xml file. 将所有站点导出到xml文件。
  2. Restart Eclipse 重新启动Eclipse
  3. Import all sites from xml file. 从xml文件导入所有站点。
  4. Now Install JBoss AS. 现在安装JBoss AS。

Seems a bit kludgey but I did notice that I had lots of weird entries in my sites before the export. 似乎有点笨拙,但我确实注意到在导出之前,我的站点中有很多奇怪的条目。 All the weird ones were not shows after the import. 导入后未显示所有怪异的东西。

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

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