为什么Eclipse不允许我安装新的更新?

为什么Eclipse不允许我安装新的更新?,eclipse,updates,eclipse-juno,Eclipse,Updates,Eclipse Juno,我在Mac10.9.5上使用以下版本的Eclipse 面向Web开发人员的EclipseJavaEEIDE。 版本:Juno服务版本2 构建id:20130225-0426 当我点击“帮助”->“检查更新”时,我会看到“可用更新”对话框 The operation cannot be completed. See the details. Cannot complete the install because one or more required items could not be fo

我在Mac10.9.5上使用以下版本的Eclipse 面向Web开发人员的EclipseJavaEEIDE。 版本:Juno服务版本2 构建id:20130225-0426

当我点击“帮助”->“检查更新”时,我会看到“可用更新”对话框

The operation cannot be completed.  See the details.
Cannot complete the install because one or more required items could not be found.
只有一个“取消”对话框。当我单击“取消”时,会出现一个较小的对话框,其中包含消息

Some sites could not be found.  See the error log for more detail.
当我点击“详细信息”按钮时,我得到

Some sites could not be found.  See the error log for more detail.
No repository found at http://download.eclipse.org/mat/1.3.1/update-site/.
Unable to read repository at jar:file:/Users/davea/Downloads/ehep-1.0.0.zip!/site.xml.
error in opening zip file
此时,我不知道还需要做什么才能成功安装更新或纠正现有问题

编辑:根据建议,我修复了损坏的存储库,但是,现在当我获得可用站点对话框时,我只检查

Eclipse IDE for Java EE Developers
选项,但我仍然收到这些错误,抱怨相互冲突的依赖关系。我怎样才能避开这些

Cannot complete the install because of a conflicting dependency.
  Software being installed: Eclipse IDE for Java EE Developers 2.0.2.20140224-0000 (epp.package.jee 2.0.2.20140224-0000)
  Software currently installed: m2e - Maven Integration for Eclipse 1.3.1.20130219-1424 (org.eclipse.m2e.feature.feature.group 1.3.1.20130219-1424)
  Only one of the following can be installed at once: 
    Maven Integration for Eclipse 1.5.1.20150109-1820 (org.eclipse.m2e.core 1.5.1.20150109-1820)
    Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.core 1.4.0.20130601-0317)
    Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033)
    Maven Integration for Eclipse 1.5.2.20150413-2215 (org.eclipse.m2e.core 1.5.2.20150413-2215)
    Maven Integration for Eclipse 1.2.0.20120903-1050 (org.eclipse.m2e.core 1.2.0.20120903-1050)
    Maven Integration for Eclipse 1.1.0.20120530-0009 (org.eclipse.m2e.core 1.1.0.20120530-0009)
    Maven Integration for Eclipse 1.4.1.20140328-1905 (org.eclipse.m2e.core 1.4.1.20140328-1905)
    Maven Integration for Eclipse 1.3.0.20130129-0926 (org.eclipse.m2e.core 1.3.0.20130129-0926)
    Maven Integration for Eclipse 1.3.1.20130219-1424 (org.eclipse.m2e.core 1.3.1.20130219-1424)
  Cannot satisfy dependency:
    From: Eclipse IDE for Java EE Developers 2.0.2.20140224-0000 (epp.package.jee 2.0.2.20140224-0000)
    To: org.eclipse.epp.package.jee.feature.feature.group [2.0.2.20140224-0000]
  Cannot satisfy dependency:
    From: Java EE IDE Feature 2.0.2.20140224-0000 (org.eclipse.epp.package.jee.feature.feature.group 2.0.2.20140224-0000)
    To: org.eclipse.m2e.wtp.jpa.feature.feature.group 0.0.0
  Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse 1.3.1.20130219-1424 (org.eclipse.m2e.feature.feature.group 1.3.1.20130219-1424)
    To: org.eclipse.m2e.core [1.3.1.20130219-1424]
  Cannot satisfy dependency:
    From: Maven Integration for Eclipse WTP 1.0.0.20130612-1742 (org.eclipse.m2e.wtp 1.0.0.20130612-1742)
    To: bundle org.eclipse.m2e.core [1.4.0,2.0.0)
  Cannot satisfy dependency:
    From: Maven Integration for Eclipse WTP 1.0.0.20130613-0136 (org.eclipse.m2e.wtp 1.0.0.20130613-0136)
    To: bundle org.eclipse.m2e.core [1.4.0,2.0.0)
  Cannot satisfy dependency:
    From: Maven Integration for Eclipse WTP 1.0.1.20130911-1545 (org.eclipse.m2e.wtp 1.0.1.20130911-1545)
    To: bundle org.eclipse.m2e.core [1.4.0,2.0.0)
  Cannot satisfy dependency:
    From: Maven JPA Configurator 1.0.0.e42-20130613-0136 (org.eclipse.m2e.wtp.jpa 1.0.0.e42-20130613-0136)
    To: bundle org.eclipse.m2e.wtp 1.0.0
  Cannot satisfy dependency:
    From: Maven JPA Configurator 1.0.0.e43-20130612-1744 (org.eclipse.m2e.wtp.jpa 1.0.0.e43-20130612-1744)
    To: bundle org.eclipse.m2e.wtp 1.0.0
  Cannot satisfy dependency:
    From: Maven JPA Configurator 1.0.1.e42-20130821-1033 (org.eclipse.m2e.wtp.jpa 1.0.1.e42-20130821-1033)
    To: bundle org.eclipse.m2e.wtp 1.0.0
  Cannot satisfy dependency:
    From: Maven JPA Configurator 1.0.1.e43-20130911-1546 (org.eclipse.m2e.wtp.jpa 1.0.1.e43-20130911-1546)
    To: bundle org.eclipse.m2e.wtp 1.0.0
  Cannot satisfy dependency:
    From: m2e-wtp - JPA configurator for WTP (Optional) 1.0.0.e42-20130613-0136 (org.eclipse.m2e.wtp.jpa.feature.feature.group  1.0.0.e42-20130613-0136)    
    To: org.eclipse.m2e.wtp.jpa [1.0.0.e42-20130613-0136]
  Cannot satisfy dependency:
    From: m2e-wtp - JPA configurator for WTP (Optional) 1.0.0.e43-20130612-1744 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.0.0.e43-20130612-1744)
    To: org.eclipse.m2e.wtp.jpa [1.0.0.e43-20130612-1744]
  Cannot satisfy dependency:
    From: m2e-wtp - JPA configurator for WTP (Optional) 1.0.1.e42-20130821-1033 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.0.1.e42-20130821-1033)
    To: org.eclipse.m2e.wtp.jpa [1.0.1.e42-20130821-1033]
  Cannot satisfy dependency:
    From: m2e-wtp - JPA configurator for WTP (Optional) 1.0.1.e43-20130911-1546 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.0.1.e43-20130911-1546)
    To: org.eclipse.m2e.wtp.jpa [1.0.1.e43-20130911-1546]
在浏览器中打开时,会显示它已移动到。也许你可以试试这个

我还没有尝试过这个,但是看起来你可以使用Window->Preferences->Install/Update->Available Software Sites来配置更新站点的位置,然后找到并替换上面的位置

关于另一个错误:似乎您不久前添加了一些本地存档站点,然后删除或移动了该存档。如果您仍然需要它,请尝试还原它,否则请使用上述首选项将其删除


话虽如此,继续使用更新版本的Eclipse可能是一个好主意。

我按照您的建议消除了这两个错误。但是,当我尝试了您关于更新Eclipse的第三个建议(仅从“可用站点”对话框中选择“EclipseIDEforJavaEE开发人员”项)时,所有的tehse都抱怨存在冲突的依赖关系。有没有一个简单的方法来解决这些问题?我在编辑我的问题时加入了特定的文本。@DaveA你到底做了什么?更新站点位置,然后放弃该位置并尝试使用新的Eclipse,或者您是否安装了新的Eclipse并将
mat/1.3.1
站点添加到新的Eclipse中?我猜
mat/1.3.1
也很老了。可能有一个新的版本可以与EclipseLuna一起使用。否则,如果其他一切都很好,只需坚持使用旧的Eclipse即可我按照你的建议更新了Mat的网站位置,它不再抱怨了。然而,现在,在wihtin Eclipse中,当我单击“帮助”->“检查更新”并尝试更新Eclipse IDE本身(据推测,它将升级到Luna)时,我被冲突的依赖性问题所阻止。