为什么我的JUnit插件测试失败了未解决的bundle错误?

时间:2011-08-18 12:53:39

标签: eclipse eclipse-plugin tycho eclipse-pde

我正在尝试让我的JUnit Plugin-Test启动程序运行我的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 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.

请参阅full error log

我不确定如何诊断这些消息以及他们可能引用的问题。这些测试在我的命令行,Tycho-Maven构建中成功运行,项目在Eclipse中编译时没有错误。我在my launcher的“启动时”选择框中选择了“所有工作区和启用的目标插件”选项。

为什么我收到这些错误消息的任何想法?

1 个答案:

答案 0 :(得分:0)

如果您正在重复使用启动配置并且已使用插件元数据(例如其名称)更改了任何内容,则需要确保它“清除配置空间”。您可以在启动器的“配置”选项卡上找到此选项。