我刚刚在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)
请帮帮我。
答案 0 :(得分:1)
Eclipse应用程序在插件中提供。 “org.eclipse.ui.ide.workbench”应用程序是Eclipse IDE的入口点,它与java或C程序中的main方法相当。 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。更简单的方法是简单地使用全新安装(使用全新的下载并在顶部安装插件)。
答案 1 :(得分:0)
尝试使用-clean启动eclipse。如果这没有帮助,您还可以从工作区中删除.metadata。我会创建它的备份,以确保这将删除您的自定义设置。