eclipse - 无法在 Juno 中启动 eclipse rcp 应用程序

标签 eclipse rcp

我无法在新发布的 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)

最佳答案

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

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

关于eclipse - 无法在 Juno 中启动 eclipse rcp 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11365303/

相关文章:

eclipse - 以编程方式附加 Eclipse 分离 View

java - 如何在 Eclipse 中显示 SonarLint?

java - JFreeChart 饼图未在 RCP View 部分中展开

java - Eclipse E4 中的 FilteredItemsSelectionDialog

eclipse - 无法在 Eclipse 中导入 Appengine 模块

java - 如何在 Eclipse PDE 中表达项目间依赖关系

java - 将 Guava 添加到依赖项后,基于插件的 RCP 产品构建将无法运行

eclipse - MyEclipse 删除服务器连接器

java - Eclipse:编译 Java 1.5 插件: "Columns For Eclipse"

java - 避免在eclipse中嵌入tomcat