Eclipse 为什么我的JUnit插件测试因未解决的包错误而失败?
我正在尝试让我的JUnit插件测试启动器为我的PDE项目运行。它以前可以工作,但我更改了我的OSGi捆绑包的一些名称,现在它失败了,原因如下:Eclipse 为什么我的JUnit插件测试因未解决的包错误而失败?,eclipse,eclipse-plugin,tycho,eclipse-pde,Eclipse,Eclipse Plugin,Tycho,Eclipse Pde,我正在尝试让我的JUnit插件测试启动器为我的PDE项目运行。它以前可以工作,但我更改了我的OSGi捆绑包的一些名称,现在它失败了,原因如下: !ENTRY org.eclipse.osgi 2 0 2011-08-09 15:43:59.904 !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it
!ENTRY org.eclipse.osgi 2 0 2011-08-09 15:43:59.904
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-08-09 15:43:59.904
!MESSAGE Bundle me.gladwell.android.tools_0.1.1.qualifier [76] was not resolved.
!SUBENTRY 2 me.gladwell.android.tools 2 0 2011-08-09 15:43:59.904
!MESSAGE Package uses conflict: Require-Bundle: org.eclipse.persistence.moxy; bundle-version="2.1.0"
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-08-09 15:43:59.904
!MESSAGE Bundle me.gladwell.eclipse.m2e.android_0.3.1.qualifier [77] was not resolved.
!SUBENTRY 2 me.gladwell.eclipse.m2e.android 2 0 2011-08-09 15:43:59.905
!MESSAGE Missing required bundle me.gladwell.android.tools_0.1.1.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-08-09 15:43:59.905
!MESSAGE Bundle me.gladwell.eclipse.m2e.android.test_0.3.1.qualifier [78] was not resolved.
!SUBENTRY 2 me.gladwell.eclipse.m2e.android.test 2 0 2011-08-09 15:43:59.905
!MESSAGE Missing required bundle me.gladwell.eclipse.m2e.android_0.0.0.
!SUBENTRY 2 me.gladwell.eclipse.m2e.android.test 2 0 2011-08-09 15:43:59.905
!MESSAGE Missing required bundle me.gladwell.android.tools_0.0.0.
请看
我不确定如何诊断这些消息以及它们可能涉及的问题。这些测试在我的命令行TychoMaven build中成功运行,项目在Eclipse中编译时没有错误。我已经在的启动选择框中选择了所有工作区并启用了目标插件选项
知道我为什么会收到这些错误消息吗?如果您正在重用启动配置,并且您已经更改了插件元数据的任何内容,比如它们的名称,那么您需要确保它正在清除配置空间。您可以在启动器的“配置”选项卡上找到此选项。谢谢,但这肯定已被选中,测试仍然失败。我还删除了单元测试创建的临时工作区,但仍然收到相同的错误消息。在插件选项卡的启动配置中,您选择了哪种启动类型?你能和我们分享一下。发布吗?