Eclipse Kepler 4.3 - 安装JBoss Tools软件时出错

时间:2014-06-07 04:51:26

标签: java eclipse maven jboss

在Eclipse Kepler 4.3中,我试图从site安装JBoss Tools for Kepler 4.3。我正在使用JBoss Tools 4.1.2 Final。我遇到了多个错误。查找以下错误详情:

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=).
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.hibernate.ui_3.7.1.Final-v20140303-0022-B124.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.hibernate.ui_3.7.1.Final-v20140303-0022-B124.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.hibernate.xml_3.7.1.Final-v20140303-0022-B124.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.hibernate.xml_3.7.1.Final-v20140303-0022-B124.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.hibernate3_5_3.7.1.Final-v20140303-0022-B124.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.hibernate3_5_3.7.1.Final-v20140303-0022-B124.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.hibernate4_0_3.7.1.Final-v20140303-0022-B124.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.hibernate4_0_3.7.1.Final-v20140303-0022-B124.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.jmx.core_1.4.1.Final-v20140318-1509-B179.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.jmx.core_1.4.1.Final-v20140318-1509-B179.jar
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/features/org.jboss.tools.jmx.feature_1.4.1.Final-v20140318-1509-B179.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.jmx.ui_1.4.1.Final-v20140318-1509-B179.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.jmx.ui_1.4.1.Final-v20140318-1509-B179.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.jsf_3.5.1.Final-v20140303-0347-B156.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.jsf_3.5.1.Final-v20140303-0347-B156.jar
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/features/org.jboss.tools.jsf.feature_3.5.1.Final-v20140303-0347-B156.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.browsersim.win32.win32.x86_64_3.5.1.Final-v20140303-0018-B169.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.browsersim.win32.win32.x86_64_3.5.1.Final-v20140303-0018-B169.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.docbook_3.5.1.Final-v20140303-0018-B169.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.docbook_3.5.1.Final-v20140303-0018-B169.jar
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/features/org.jboss.tools.vpe.feature_3.5.1.Final-v20140303-0018-B169.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.html_3.5.1.Final-v20140303-0018-B169.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.html_3.5.1.Final-v20140303-0018-B169.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.jsp_3.5.1.Final-v20140303-0018-B169.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.jsp_3.5.1.Final-v20140303-0018-B169.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.resref_3.5.1.Final-v20140303-0018-B169.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.resref_3.5.1.Final-v20140303-0018-B169.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.spring_3.5.1.Final-v20140303-0018-B169.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.spring_3.5.1.Final-v20140303-0018-B169.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.ui.palette_3.5.1.Final-v20140303-0018-B169.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.ui.palette_3.5.1.Final-v20140303-0018-B169.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.xulrunner_3.5.1.Final-v20140303-0018-B169.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.vpe.xulrunner_3.5.1.Final-v20140303-0018-B169.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.wtp.runtimes.tomcat_1.0.1.Final-v20140318-1509-B179.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.wtp.runtimes.tomcat_1.0.1.Final-v20140318-1509-B179.jar
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/features/org.jboss.tools.wtp.runtimes.tomcat.feature_1.0.1.Final-v20140318-1509-B179.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.xulrunner.initializer_3.5.1.Final-v20140303-0018-B169.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.jboss.tools.xulrunner.initializer_3.5.1.Final-v20140303-0018-B169.jar
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/releases/JBossTools-4.1.2.Final.core/plugins/org.mozilla.xpcom_1.9.2.16.jar
download.jboss.org

下次我再次尝试下载时出现错误:

No repository found at http://download.jboss.org/jbosstools/updates/stable/kepler/.

我的互联网连接没有问题,但我不确定为什么在安装JBoss Tools软件时会出现这样的错误。
请提出任何解决方案。

3 个答案:

答案 0 :(得分:2)

我刚遇到同样的问题,我正在使用直接连接。检查网络连接,我注意到它被设置为“Native”(可能是Eclipse Kepler的默认设置,因为我的安装是新的)。

通过将网络连接“有效提供商”从原生更改为直接来解决此问题。

Eclipse中的网络配置路径: Windows>>偏好设置>>常规>>网络连接

Eclipse Network Connection Window

答案 1 :(得分:1)

Eclipse Luna也会出现同样的问题。将Active Provider设置为Direct可以解决问题。

答案 2 :(得分:0)

对我而言,上述答案无效,因为我们使用代理连接到互联网。所以我们的设置是网络手册

但我解决了这个问题:

  1. 转到Help - > Install New Software
  2. 添加存储库链接http://download.jboss.org/jbosstools/updates/stable/kepler
  3. 从选项中选择Hibernate Tools
  4. 接受许可并继续安装。
  5. 重启Eclipse和Hurray!