在tycho build中未解析org.eclipse.core.runtime捆绑包

在tycho build中未解析org.eclipse.core.runtime捆绑包,eclipse,maven,tycho,Eclipse,Maven,Tycho,我有一个项目,当使用eclipse构建时,它可以很好地构建和运行,但是当我尝试使用maven&tycho构建它时,我得到了 java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini). 该捆绑包确实位于插件目录中,并由config.i

我有一个项目,当使用eclipse构建时,它可以很好地构建和运行,但是当我尝试使用maven&tycho构建它时,我得到了

 java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
该捆绑包确实位于插件目录中,并由config.ini引用

问题是什么?如何解决

您可以在此处找到代码:

这是完整的错误报告:

!SESSION 2014-05-02 10:57:06.671 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 2 0 2014-05-02 10:57:07.615
!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 2014-05-02 10:57:07.615
!MESSAGE Bundle org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120913-144807 [46] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.launcher.gtk.linux.x86 2 0 2014-05-02 10:57:07.615
!MESSAGE Platform filter did not match: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86))

!ENTRY org.eclipse.osgi 4 0 2014-05-02 10:57:07.615
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

问题的出现是因为您没有为org.eclipse.core.runtime bundle设置startup lavel

打开您的产品并设置开始级别,如下图所示


行“平台筛选器不匹配”似乎表示您有一个“x86”启动器(32位),但您正在运行“x86_64”(64位)。该产品是为x86和x86_64编译的,我正在x86_64上运行,因此无法解析x86 one gtk是可以的,我猜。可能是的副本。请将整个config.ini内容粘贴到这里好吗?