4

我无法在新发布的 juno 中启动我的 rcp 应用程序,但它在 indigo 中运行良好。我发现有很多 lucene 包没有解决。但是它们被添加到运行配置中所需的插件中。

有人有什么建议吗?谢谢!

!SESSION 2012-07-06 16:45:10.801 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=sv_SE
Framework arguments:  -product Myproduct.product
Command-line arguments:  -product Myproduct.product -data C:\Users\user\workspace/../runtime-Myproduct.product -dev file:C:/Users/user/workspace/.metadata/.plugins/org.eclipse.pde.core/Myproduct.product/dev.properties -os win32 -ws win32 -arch x86_64

!ENTRY org.eclipse.equinox.app 0 0 2012-07-06 16:45:11.986
!MESSAGE Product Myproduct.product could not be found.

!ENTRY org.eclipse.osgi 2 0 2012-07-06 16:45:12.106
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.106
!MESSAGE Bundle initial@reference:file:plugins/org.apache.lucene.queries_3.5.0.v20120319-2345.jar was not resolved.

!SUBENTRY 2 org.apache.lucene.queries 2 0 2012-07-06 16:45:12.106
!MESSAGE Missing required bundle org.apache.lucene.core_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.106
!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 2012-07-06 16:45:12.106
!MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.106
!MESSAGE Bundle initial@reference:file:plugins/org.apache.lucene.misc_3.5.0.v20120319-2345.jar was not resolved.
!SUBENTRY 2 org.apache.lucene.misc 2 0 2012-07-06 16:45:12.106
!MESSAGE Missing required bundle org.apache.lucene.core_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.106
!MESSAGE Bundle initial@reference:file:plugins/org.apache.lucene_3.5.0.v20120319-2345.jar was not resolved.

!SUBENTRY 2 org.apache.lucene 2 0 2012-07-06 16:45:12.106
!MESSAGE Missing required bundle org.apache.lucene.core_[3.5.0,4.0.0).

!ENTRY org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!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 2012-07-06 16:45:12.119
!MESSAGE Bundle org.eclipse.help.base_3.6.100.v201206081400 [18] was not resolved.
!SUBENTRY 2 org.eclipse.help.base 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene_2.9.0.
!SUBENTRY 2 org.eclipse.help.base 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene.analysis_2.9.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!MESSAGE Bundle org.eclipse.help.webapp_3.6.100.v20120521-2344 [21] was not resolved.
!SUBENTRY 2 org.eclipse.help.webapp 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.eclipse.help.base_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!MESSAGE Bundle org.apache.lucene.analysis_2.9.1.v201101211721 [25] was not resolved.
!SUBENTRY 2 org.apache.lucene.analysis 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!MESSAGE Bundle org.eclipse.help.ui_3.5.200.v20120521-2344 [35] was not resolved.
!SUBENTRY 2 org.eclipse.help.ui 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.eclipse.help.base_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!MESSAGE Bundle org.apache.lucene.queries_3.5.0.v20120319-2345 [39] was not resolved.
!SUBENTRY 2 org.apache.lucene.queries 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene.core_[3.5.0,4.0.0).
!SUBENTRY 2 org.apache.lucene.queries 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing optionally imported package org.apache.regexp_1.4.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!MESSAGE Bundle org.apache.lucene_3.5.0.v20120319-2345 [52] was not resolved.
!SUBENTRY 2 org.apache.lucene 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene.core_[3.5.0,4.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene.misc_[3.5.0,4.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene.queries_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!MESSAGE Bundle org.apache.lucene.misc_3.5.0.v20120319-2345 [79] was not resolved.
!SUBENTRY 2 org.apache.lucene.misc 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene.core_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!MESSAGE Bundle Myproduct_1.0.0 [171] was not resolved.
!SUBENTRY 2 Myproduct 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.eclipse.help.ui_3.5.101.
!SUBENTRY 2 Myproduct 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.eclipse.help.webapp_3.6.0.

!ENTRY org.eclipse.osgi 4 0 2012-07-06 16:45:12.128
!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: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:601)
    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)
4

3 回答 3

9

我通过启用 lucene 插件的特定子集解决了这个问题。

  • 转到您的插件/产品配置的运行配置对话框(运行->运行配置...)
  • 选择插件选项卡
  • 在搜索字段中输入“lucene”。它应该显示以 org.apache.lucene* 开头的七个条目
  • 将 2.9.1 的所有内容标记为已启用
  • 将 3.5.0 的所有内容标记为禁用
  • 单击验证插件,它应该说“未检测到问题”
于 2012-07-27T09:10:18.890 回答
0

通过选择启动选项解决了它:所有工作区和启用的外部插件。 更多关于午餐选择

于 2012-07-09T09:52:28.007 回答
0

嗯。经过几个小时的挣扎:

如果您在插件概览选项卡上指定了错误的“执行环境”,也会出现此错误。例如,指定 JavaSE 1.7,即使您只有 JavaSE 1.6。

于 2013-01-21T22:25:56.510 回答