Tycho 开发Eclipe 插件打包运行报错Ensure that the org.eclipse.core.runtime bundle is resolved and started
开发环境
软件 | 版本 |
---|---|
Eclipse版本 | Mars Release (4.5.0) |
JDK | 1.8.0_144 |
Maven | 3.3.3 |
异常现象
用tycho开发Eclipse插件项目,参考了vogella上的一篇文章(链接地址)做demo的时候,发现直接在eclipse idea中运行没有问题,但是项目打包成可执行程序后运行报错,错误如下:
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:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.ref