我在Mac上使用以下版本的Eclipse 10.9.5 Eclipse Java EE IDE for Web Developers。 版本:朱諾服務版本2 版本ID:20130225-0426爲什麼Eclipse不讓我安裝新的更新?
當我點擊「幫助」 - >「檢查更新」,我得到的「可用更新」對話框
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]
我跟着你的建議得到了兩個錯誤走開。但是,當我嘗試更新Eclipse的第三個建議(從「可用站點」對話框中僅選擇「Eclipse IDE for Java EE開發人員」項目)時,有關於衝突相關性的所有投訴。有沒有簡單的方法來解決這些問題?我在編輯中包含了特定文本以解決我的問題。 –
@DaveA你究竟做了什麼?更新站點位置,然後放棄它,然後嘗試使用新的Eclipse,或者是否安裝了新的Eclipse並將該「mat/1.3.1」站點添加到新的Eclipse中?我猜'mat/1.3.1'也很老了。 Eclipse Luna可能有更新的版本。否則,如果一切正常,只需堅持使用舊的Eclipse。 ;-) –
我更新了Mat的網站位置,建議您停止抱怨。然而,現在,從Eclipse中,當我點擊「幫助」 - >「檢查更新」並嘗試更新Eclipse IDE本身(可能會升級到Luna)時,我被衝突的依賴性問題阻止。 –