在注册表中找不到应用程序“org.eclipse.e4.ui.workbench.swt.E4Application”

时间:2013-09-02 11:14:46

标签: eclipse registry eclipse-kepler workbench

我刚刚从4.2移动到4.3(kepler)。我正在研究Eclipse RCP(OSGi框架),它在4.2中运行良好,但是一旦我搬到开普勒 - 开始获得 启动时下面提到的错误。任何形式的帮助都表示赞赏。

java.lang.RuntimeException: Application "org.eclipse.e4.ui.workbench.swt.E4Application" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
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:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

2 个答案:

答案 0 :(得分:1)

试试这个: 打开* .product文件,然后依赖于依赖项选项卡,选中“在计算所需库时包含可选依赖项”。

答案 1 :(得分:0)

转到工作区文件夹-> .metadata->。plugins 查找与您在错误中看到的名称匹配的文件夹,在本例中为org.eclipse.e4。*

删除此文件夹,然后重新启动Eclipse。现在应该可以打开了。