Java &引用;找不到应用程序id“;在运行EclipseRCP应用程序之后

Java &引用;找不到应用程序id“;在运行EclipseRCP应用程序之后,java,eclipse,eclipse-rcp,Java,Eclipse,Eclipse Rcp,我正在将一个RCP应用程序从Eclipse3(Indigo)迁移到Eclipse4(Mars)。 我已经解决了所有与依赖关系相关的问题。但我无法使用“启动eclipse应用程序”启动产品文件 错误是: java.lang.RuntimeException: No application id has been found. at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppConta

我正在将一个RCP应用程序从Eclipse3(Indigo)迁移到Eclipse4(Mars)。 我已经解决了所有与依赖关系相关的问题。但我无法使用“启动eclipse应用程序”启动产品文件

错误是:

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:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
如果我转到Run->Run Configuration->添加所需的插件,然后从那里运行应用程序。应用程序运行


有人能告诉我在点击“添加所需插件”按钮时,这些新添加插件的设置或条目存储在哪里吗(如果它在运行中选择这些插件的话)?因为在从“启动eclipse应用程序”再次运行应用程序之后。它没有开始。我也犯了同样的错误。如何为下一个构建(从“启动eclipse应用程序”)持久化新添加的插件列表?

即使在从运行配置添加所需插件之后,我也遇到了相同的非持久化插件问题

用户Dan Nick在此处进行了修复:

从本质上讲,似乎有必要在“产品依赖项”选项卡上添加所需的插件。一旦我这样做了,然后单击产品概述选项卡中的“启动Eclipse应用程序”,应用程序就成功启动了