Tycho 开发Eclipe 插件打包运行报错Ensure that the org.eclipse.core.runtime bundle is resolved and started

本文描述了在使用Tycho开发Eclipse插件时遇到的运行错误,即'Ensure that the org.eclipse.core.runtime bundle is resolved and started'。问题出现在项目打包成可执行程序后,对比其他Tycho示例,怀疑可能与.product文件的Start Levels配置有关。通过调整Start Levels配置,成功解决了报错问题。目前待解决的问题是,为什么vogella文章中的配置在作者环境中可以正常运行。
摘要由CSDN通过智能技术生成

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
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值