当前位置: 代码迷 >> Eclipse >> eclipse整合出错
  详细解决方案

eclipse整合出错

热度:44   发布时间:2016-04-23 02:14:20.0
eclipse调整出错

开发过程提示如下错误:

!ENTRY org.eclipse.osgi 4 0 2011-10-11 00:18:07.354
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, 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:369)
?at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
?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:620)
?at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
?at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

?

Plugin registry里面没有注册信息,在3.2中 extension org.eclipse.ui.ide.workbench是申明在插件org.eclipse.ui.ide中的,通过Plugin Registry Search,发现在3.3中,这个extension declaration被挪到插件org.eclipse.ui.ide.application中了,于是在项目的product配置中加入org.eclipse.ui.ide.application这个插件依赖,然后选中这个插件,点击"Add Required Plug-ins",再clear, 启动,运行正常。

  相关解决方案