我观察到以下问题。 在通过标准功能在Eclipse IDE中创建Eclipse RCP应用程序的情况下,分布了问题 开始在情况下,由它失败无法启动由maven + tycho创建的Eclipse RCP应用程序
!SESSION 2017-09-13 13:32:10.129 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.osgi 4 0 2017-09-13 13:32:12.185
!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:78)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
我提供了一些调查,发现,配置错误行家脚本创建相同的应用程序.ini文件未正确创建。有些根插件没有标记开始标记。 这些是: - org.eclipse.core.runtime_3.12.0.v20160606-1342.jar - org.eclipse.equinox.common_3.8.0.v20160509-1230.jar - org.eclipse.equinox.ds_1.4.400。 v20160226-2036.jar - org.eclipse.equinox.event_1.3.200.v20160324-1850.jar - org.eclipse.update.configurator_3.3.400.v20160506-0750.jar
可否请你建议我可能这个问题的原因? 有没有办法正确配置生成config.ini?
在此先感谢亚历克斯
以下部分已被添加到产品定义<配置> <插件ID = “org.eclipse.core.runtime” AUTOSTART = “真” STARTLEVEL = “0”/> configuration> –
Alexander
所以问题已解决。 – Alexander
Hello Alexander, 很棒,你自己解决了你的问题。请通过自己回答问题(https://stackoverflow.com/help/self-answer)分享解决方案,而不是发表评论。通过这样做,您还可以从标题中删除“已解决”。因为这不是在Stack Exchange网站上标记已解决问题的正确方法。 – gillesB