找不到所需的插件“org.eclipse.pde.junit.runtime" [英] Required plug-in 'org.eclipse.pde.junit.runtime' could not be found
问题描述
我正在使用 Eclipse Indigo,需要使用 Junit PDE 来测试我的插件功能.我安装了 Junit,还有这两个插件:
I'm working with Eclipse Indigo and need to use Junit PDE to test my plugin functionality. I installed Junit, and these two plugins:
但是当我尝试运行我的测试用例(运行->运行配置->JUnit 插件测试)时,我不断出现以下错误:必需插件 'org.eclipse.pde.junit.runtime' could not被发现.
But when I tried to run my test case (Run->Run Configurations->JUnit Plug-in Test) I keep obstaining the following error: Required plug-in 'org.eclipse.pde.junit.runtime' could not be found.
如果有人能告诉我我还需要什么,或者我做错了什么,我将不胜感激.
If someone could telle what else do I need, or what I'm doing wrong I'll be grateful.
推荐答案
你可以通过Help->About Eclipse,Installation Details,然后找到插件来检查你是否安装了org.eclipse.pde.junit.runtime在插件选项卡中(插件 ID 列).如果它不存在,您可以从 Eclipse 更新站点安装它.如果它在那里,那么您的安装已损坏,使用 Indigo PDE 的新安装从头开始重新启动可能是个好主意.
You can check if you have the org.eclipse.pde.junit.runtime installed by going to Help->About Eclipse, Installation Details, then finding the plugin in the Plug-ins tab (column Plug-In Id). If it's not there, you can install it from the Eclipse update site. If it is there, then you have a correupted installation, and it's probably a good idea to restart from scratch with a new installation of the Indigo PDE.
这篇关于找不到所需的插件“org.eclipse.pde.junit.runtime"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!