首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法打开Eclipse Juno IDE

无法打开Eclipse Juno IDE
EN

Stack Overflow用户
提问于 2013-04-30 16:43:37
回答 2查看 1.2K关注 0票数 0

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

代码语言:javascript
复制
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)

请帮帮我。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2013-04-30 19:28:10

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

代码语言:javascript
复制
<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
EN

Stack Overflow用户

发布于 2013-04-30 16:46:54

尝试使用-clean启动eclipse。如果这不起作用,您还可以从您的工作区中删除.metadata。我会创建它的备份,只是为了确保这将删除您的自定义设置。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16295658

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档