RCP 工程启动报No application id has been found 的错误

RCP 工程启动报No application id has been found 的错误 , 错误信息如下,查看之后 , 发现主要的问题是 “MESSAGE Missing required bundle” ,一些eclipse 必要的包不能解析。

解决方案:
打开.product文件 , 切换到dependencies 项,点击 Add required plug-ins , 保存之后再切换到 overview 运行 。




!ENTRY org.eclipse.osgi 2 0 2014-06-10 14:35:27.130

!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-06-10 14:35:27.130
!MESSAGE Bundle initial@reference:file:plugins/org.apache.lucene.analysis_2.9.1.v201101211721.jar/ was not resolved.
!SUBENTRY 2 org.apache.lucene.analysis 2 0 2014-06-10 14:35:27.130
!MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-06-10 14:35:27.130
!MESSAGE Bundle initial@reference:file:plugins/org.apache.lucene_2.9.1.v201101211721.jar/ was not resolved.
!SUBENTRY 2 org.apache.lucene 2 0 2014-06-10 14:35:27.131
!MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0).

!ENTRY org.eclipse.osgi 2 0 2014-06-10 14:35:27.140
!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-06-10 14:35:27.141
!MESSAGE Bundle org.eclipse.help.webapp_3.6.1.r37_20110929 [4] was not resolved.
!SUBENTRY 2 org.eclipse.help.webapp 2 0 2014-06-10 14:35:27.141
!MESSAGE Missing required bundle org.eclipse.help.base_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-06-10 14:35:27.142
!MESSAGE Bundle org.apache.lucene_2.9.1.v201101211721 [7] was not resolved.
!SUBENTRY 2 org.apache.lucene 2 0 2014-06-10 14:35:27.142
!MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2014-06-10 14:35:27.142
!MESSAGE Missing optionally required bundle org.apache.lucene.analysis_[2.9.1,3.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2014-06-10 14:35:27.143
!MESSAGE Missing optionally required bundle org.apache.lucene.highlighter_[2.9.1,3.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2014-06-10 14:35:27.143
!MESSAGE Missing optionally required bundle org.apache.lucene.memory_[2.9.1,3.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2014-06-10 14:35:27.144
!MESSAGE Missing optionally required bundle org.apache.lucene.queries_[2.9.1,3.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2014-06-10 14:35:27.144
!MESSAGE Missing optionally required bundle org.apache.lucene.snowball_[2.9.1,3.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2014-06-10 14:35:27.144
!MESSAGE Missing optionally required bundle org.apache.lucene.spellchecker_[2.9.1,3.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2014-06-10 14:35:27.145
!MESSAGE Missing optionally required bundle org.apache.lucene.misc_[2.9.1,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-06-10 14:35:27.145
!MESSAGE Bundle org.eclipse.help.ui_3.5.101.r37_20110819 [21] was not resolved.
!SUBENTRY 2 org.eclipse.help.ui 2 0 2014-06-10 14:35:27.145
!MESSAGE Missing required bundle org.eclipse.help.base_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-06-10 14:35:27.146
!MESSAGE Bundle org.eclipse.help.base_3.6.2.v201202080800 [27] was not resolved.
!SUBENTRY 2 org.eclipse.help.base 2 0 2014-06-10 14:35:27.146
!MESSAGE Missing required bundle org.apache.lucene_[2.9.0,3.0.0).
!SUBENTRY 2 org.eclipse.help.base 2 0 2014-06-10 14:35:27.146
!MESSAGE Missing required bundle org.apache.lucene.analysis_[2.9.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-06-10 14:35:27.147
!MESSAGE Bundle org.apache.lucene.analysis_2.9.1.v201101211721 [33] was not resolved.
!SUBENTRY 2 org.apache.lucene.analysis 2 0 2014-06-10 14:35:27.147
!MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-06-10 14:35:27.147
!MESSAGE Missing required bundle org.eclipse.help.ui_3.4.0.
!MESSAGE Missing required bundle org.eclipse.help.webapp_3.4.0.

!ENTRY org.eclipse.osgi 4 0 2014-06-10 14:35:27.150
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
    at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
    at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:601)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)






  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值