我尝试更新Eclipse版本:2021-09(4.21.0)至最新版本,并出现以下故障-
Cannot complete the install because of a conflicting dependency.
Software being installed: M2E - Maven Integration for Eclipse 2.0.4.20220904-1703 (org.eclipse.m2e.feature.feature.group 2.0.4.20220904-1703)
Software currently installed: m2e-wtp - JPA configurator for WTP (Optional) 1.4.4.20201128-1705 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.4.4.20201128-1705)
Only one of the following can be installed at once:
M2E Maven Integration for Eclipse Core 2.0.3.20220904-1703 (org.eclipse.m2e.core 2.0.3.20220904-1703)
Maven Integration for Eclipse 1.18.1.20210614-1604 (org.eclipse.m2e.core 1.18.1.20210614-1604)
Cannot satisfy dependency:
From: M2E - Maven Integration for Eclipse 2.0.4.20220904-1703 (org.eclipse.m2e.feature.feature.group 2.0.4.20220904-1703)
To: org.eclipse.equinox.p2.iu; org.eclipse.m2e.core [2.0.3.20220904-1703,2.0.3.20220904-1703]
Cannot satisfy dependency:
From: Maven JPA Configurator 1.4.4.20201128-1705 (org.eclipse.m2e.wtp.jpa 1.4.4.20201128-1705)
To: osgi.bundle; org.eclipse.m2e.core [1.6.0,2.0.0)
Cannot satisfy dependency:
From: m2e-wtp - JPA configurator for WTP (Optional) 1.4.4.20201128-1705 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.4.4.20201128-1705)
To: org.eclipse.equinox.p2.iu; org.eclipse.m2e.wtp.jpa [1.4.4.20201128-1705,1.4.4.20201128-1705]
1条答案
按热度按时间zu0ti5jz1#
实际上,我没有手动安装“M2 E- Maven Integration for Eclipse”,它是与“Eclipse IDE for Enterprise Java and Web Developers”打包在一起的。按照建议,我卸载了它。现在我遇到了以下故障-
为了测试的目的,我试图更新一个新下载的2021-09(4.21.0),并得到以下失败-