我为JavaScript Web开发人员安装了Eclipse IDE,版本:Indigo Service Release 1 在2011年构建id:20110916-0149并将其用于java开发,但是当我右键单击java类时,看不到关于jUnit的菜单。 实际上jUnit在菜单中没有出现。
在浏览论坛后,我尝试安装JDT,因为我知道这是包含jUnit的地方。但由于与已经安装的东西发生冲突,安装失败了......
你能帮帮忙吗?
FRED
冲突细节:
I get : Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse Java Development Tools 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1 (org.eclipse.jdt.feature.group 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1)
Software currently installed: Shared profile 1.0.0.1325791064663 (SharedProfile_epp.package.javascript 1.0.0.1325791064663)
Only one of the following can be installed at once:
Java Development Tools Launching Support 3.5.0.v20090527 (org.eclipse.jdt.launching 3.5.0.v20090527)
Java Development Tools Launching Support 3.6.0.v20110509 (org.eclipse.jdt.launching 3.6.0.v20110509)
Java Development Tools Launching Support 3.6.1.v20110803_r371 (org.eclipse.jdt.launching 3.6.1.v20110803_r371)
Java Development Tools Launching Support 3.5.1.v20100108_r352 (org.eclipse.jdt.launching 3.5.1.v20100108_r352)
Java Development Tools Launching Support 3.6.1.v20111006_r372 (org.eclipse.jdt.launching 3.6.1.v20111006_r372)
Cannot satisfy dependency:
From: Shared profile 1.0.0.1325791064663 (SharedProfile_epp.package.javascript 1.0.0.1325791064663)
To: org.eclipse.jdt.launching [3.6.1.v20110803_r371]
Cannot satisfy dependency:
From: Eclipse Java Development Tools 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1 (org.eclipse.jdt.feature.group 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1)
To: org.eclipse.jdt.launching [3.6.1.v20111006_r372]
答案 0 :(得分:0)
这看起来很奇怪。一些背景:
插件" Java开发工具启动支持"不想在Eclipse中安装自己的不同版本。 Eclipse 3.7.2附带版本3.6.1.v20111006_r372
。
您似乎仍然安装了3.5和3.6版本的旧版本。您是否从旧版本升级到3.7?
这样的问题通常只能通过再次安装Eclipse来解决。删除磁盘上的插件不会有帮助,因为p2会记住安装了哪些插件,并不关心插件是否仍然存在。您可能也无法删除该插件,因为其他一些插件将取决于它。