0

我刚刚在 Eclipse Juno 中安装了 Jboss 工具(Juno)插件,安装后我重新启动以获取更改,但从那时起它没有打开 IDE。它在日志文件中存储了以下错误。

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.datatools.connectivity.console.profile.StorageFileEditor, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.pde.junit.runtime.uitestapplication, org.eclipse.pde.junit.runtime.legacytestapplication, org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.pde.junit.runtime.coretestapplicationnonmain, org.eclipse.pde.junit.runtime.nonuithreadtestapplication, org.eclipse.wst.server.preview.preview, org.eclipse.ant.ui.antRunner, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.emf.codegen.ecore.Generator, org.eclipse.emf.importer.ecore.Ecore2GenModel, org.eclipse.emf.importer.java.Java2GenModel, org.eclipse.emf.importer.rose.Rose2GenModel, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.jdt.core.JavaIndexer, org.eclipse.pde.build.Build, org.eclipse.wst.jsdt.core.JavaCodeFormatter, org.jboss.tools.vpe.browsersim.eclipse.application.
    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: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: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:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

请帮帮我。

4

2 回答 2

1

Eclipse 应用程序在插件中提供。“org.eclipse.ui.ide.workbench”应用程序是Eclipse IDE的入口点,它相当于java或C程序中的main-method。Eclipse IDE 在插件“org.eclipse.ui.ide.application”中有它的应用程序,即主程序入口点。此插件在插件 xml 中声明 IDE 应用程序:

<extension id="org.eclipse.ui.ide.workbench" point="org.eclipse.core.runtime.applications">
    <application>
        <run class="org.eclipse.ui.internal.ide.application.IDEApplication"></run>
    </application>
</extension>

您的消息报告找不到此应用程序。有很多可能的原因。Eclipse 插件声明依赖关系,Eclipse 是一个依赖插件的大图。一个无效的插件会导致其他需要这个特定无效插件的插件也变得无效。这很可能是发生在你身上的事情。由于某种原因,您的安装行为错误并以某种奇怪的方式删除、杀死或使您的插件图无效。因此 Eclipse 应用程序没有公开,因此 Eclipse 拒绝启动。

解决这个问题通常非常繁琐,您必须找出哪个插件被丢弃并损坏了整个 IDE。更简单的是简单地使用全新安装(使用全新下载并在顶部安装插件)。

于 2013-04-30T11:28:10.060 回答
0

尝试使用 -clean 启动 Eclipse。如果这没有帮助,您还可以从工作区中删除 .metadata。我会创建它的备份以确保这将删除您的自定义设置。

于 2013-04-30T08:46:54.313 回答