安装spring报错:Cannot complete the install because of a conflicting dependency.

问题:

在Eclipse里安装Spring插件,help->install new software用端点安装,说是出现软件依赖错误报错如下:

Cannot complete the install because of a conflicting dependency.
Software being installed: Spring IDE AJDT Integration (optional) 3.4.0.201310051539-RELEASE (org.springframework.ide.eclipse.ajdt.feature.feature.group 3.4.0.201310051539-RELEASE)
Software currently installed: Hibernate Tools 5.0.1.Final-v20160331-1852-B88 (org.hibernate.eclipse.feature.feature.group 5.0.1.Final-v20160331-1852-B88)
Only one of the following can be installed at once:
Java Development Tools Core 3.9.0.xx-20130828-1400-e43-RELEASE (org.eclipse.jdt.core 3.9.0.xx-20130828-1400-e43-RELEASE)
Java Development Tools Core 3.11.2.v20160128-0629 (org.eclipse.jdt.core 3.11.2.v20160128-0629)
Cannot satisfy dependency:
From: AspectJ Development Tools Core 2.2.4.e43x-20130830-1500 (org.eclipse.ajdt.core 2.2.4.e43x-20130830-1500)
To: bundle org.eclipse.jdt.core [3.9.0,3.9.9)
Cannot satisfy dependency:
From: Hibernate Tools 5.0.1.Final-v20160331-1852-B88 (org.hibernate.eclipse.feature.feature.group 5.0.1.Final-v20160331-1852-B88)
To: org.hibernate.eclipse.jdt.ui [5.0.1.Final-v20160331-1852-B88]
Cannot satisfy dependency:
From: Hibernate JDT Integration 5.0.1.Final-v20160331-1852-B88 (org.hibernate.eclipse.jdt.ui 5.0.1.Final-v20160331-1852-B88)
To: bundle org.eclipse.jdt.core 3.11.0
Cannot satisfy dependency:
From: Spring IDE AJDT Integration (optional) 3.4.0.201310051539-RELEASE (org.springframework.ide.eclipse.ajdt.feature.feature.group 3.4.0.201310051539-RELEASE)
To: org.springframework.ide.eclipse.ajdt.ui.xref [3.4.0.201310051539-RELEASE]
Cannot satisfy dependency:
From: Spring IDE AOP Xref UI 3.4.0.201310051539-RELEASE (org.springframework.ide.eclipse.ajdt.ui.xref 3.4.0.201310051539-RELEASE)
To: package org.eclipse.ajdt.core 0.0.0

解决办法:下面四个一项一项的安装,去掉报错的项继续安装,即可安装成功。

 

原文地址:https://www.cnblogs.com/TTTTT/p/6297272.html