我尝试从他们的安装 FDT 插件更新网站在 Eclipse Kepler 4.3 上,但因此错误而失败。
Cannot complete the install because one or more required items could not be found.
Software being installed: FDT Core (required) 1.13.272.1632 (com.powerflasher.fdt.ui.feature.group 1.13.272.1632)
Missing requirement: FDT Core (required) 1.13.272.1632 (com.powerflasher.fdt.ui.feature.group 1.13.272.1632) requires 'org.junit4 0.0.0' but it could not be found
更新:经过简短搜索,我发现 Eclipse Kepler 中不再提供“org.junit4”包,并且已重命名为“org.junit4”。但我找不到解决方法。
更新:该问题已通过较新版本的 FDT 插件修复。
答案1
在包清单中,将 org.junit4 替换为 org.junit,例如这
<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
<Bundle-Vendor>infinitest.org</Bundle-Vendor>
<Require-Bundle>
org.eclipse.ui,org.eclipse.core.runtime,org.eclipse.core.resources,org.eclipse.jdt.core,org.junit4,org.eclipse.ui.ide,org.eclipse.ui.console;bundle- version="3.3.0",org.eclipse.jdt.debug.ui,org.eclipse.jface.text,org.eclipse.debug.core,org.eclipse.jdt.launching
org.eclipse.ui,org.eclipse.core.runtime,org.eclipse.core.resources,org.eclipse.jdt.core,org.junit;bundle- version="[4.0.0,5.0.0)",org.eclipse.ui.ide,org.eclipse.ui.console;bundle- version="3.3.0",org.eclipse.jdt.debug.ui,org.eclipse.jface.text,org.eclipse.debug.core,org.eclipse.jdt.launching
</Require-Bundle>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<Embed-Transitive>true</Embed-Transitive>