做开发的同学们或多或少的都会遇到eclipse启动到一定程度时,就进入灰色无响应状态再也不动了。启动画面始终停留在Loading workbench状态。反复重启,状态依旧。

多数情况下,应该是非正常关闭eclipse工作区的文件状态错误所导致的。

在工作区目录中,有一个.metadata目录,里面是工作区及各插件的信息,删除此目录,再重启eclipse,果然可以正常启动eclipse了,但原来工作区的配置和项目信息也都消失,直接显示的是eclipse欢迎界面。

那么怎么做才能保证之前的配置不丢失呢?这时想到启动停止时显示的状态:"Loading workbench",看来和这个workbench插件有关。查看工作空间中的.metadata/.plugins目录,在众多文件夹中 
com.collabnet.subversion.merge          org.eclipse.search 
org.eclipse.compare                           org.eclipse.team.core 
org.eclipse.core.resources                  org.eclipse.team.cvs.core 
org.eclipse.core.runtime               org.eclipse.team.ui 
org.eclipse.debug.core                 org.eclipse.ui.ide 
org.eclipse.debug.ui                   org.eclipse.ui.intro 
org.eclipse.dltk.core                    org.eclipse.ui.views.log 
org.eclipse.dltk.core.index.sql.h2     org.eclipse.ui.workbench 
org.eclipse.dltk.ui                           org.eclipse.ui.workbench.texteditor 
org.eclipse.epp.usagedata.recording    org.eclipse.wb.discovery.core 
org.eclipse.jdt.core                             org.eclipse.wst.internet.cache 
org.eclipse.jdt.ui                                 org.eclipse.wst.jsdt.core 
org.eclipse.ltk.core.refactoring          org.eclipse.wst.jsdt.ui 
org.eclipse.ltk.ui.refactoring            org.eclipse.wst.jsdt.web.core 
org.eclipse.m2e.core                    org.eclipse.wst.sse.ui 
org.eclipse.m2e.logback.configuration  org.eclipse.wst.validation 
org.eclipse.mylyn.bugzilla.core        org.eclipse.wst.xml.core 
org.eclipse.mylyn.tasks.ui             org.tigris.subversion.subclipse.core 
org.eclipse.php.core                   org.tigris.subversion.subclipse.graph 
org.eclipse.php.ui                     org.tigris.subversion.subclipse.ui

发现了两个: org.eclipse.ui.workbench 和org.eclipse.ui.workbench.texteditor。删了这两个目录,重新启动eclipse。正常启动且原项目信息正确加载。

关于 eclipse启动卡死的问题(eclipse上一次没有正确关闭,导致启动的时候卡死错误解决方法),自己常用的解决方法:

      方案一(推荐使用,如果没有这个文件,就使用方案二):

      到<workspace>\.metadata\.plugins\org.eclipse.core.resources目录,删除文件 .snap

      方案二:

      进入workspace/.metadata/.plugins/目录
      重命名 org.eclipse.core.resources to org.eclipse.core.resources_old.
      然后重启 eclipse
      Close eclipse
      Delete org.eclipse.core.resources
      Rename org.eclipse.core.resources_old back to org.eclipse.core.resources
      启动 eclipse

eclipse启动无响应,停留在Loading workbench状态,或老是加载不了revert resources的更多相关文章

  1. eclipse启动无响应,停留在Loading workbench状态

    做开发的同学们或多或少的都会遇到eclipse启动到一定程度时,就进入灰色无响应状态再也不动了.启动画面始终停留在Loading workbench状态.反复重启,状态依旧. 多数情况下,应该是非正常 ...

  2. eclipse启动无响应,老是加载不了revert resources,或停留在Loading workbench状态

    做开发的同学们或多或少的都会遇到eclipse启动到一定程度时,就进入灰色无响应状态再也不动了.启动画面始终停留在Loading workbench状态.反复重启,状态依旧. 多数情况下,应该是非正常 ...

  3. myeclipse一直停留在Loading workbench界面上以及停滞启动页不动的处理办法

    找到myeclipse的工作目录,比如我的叫springworkspace(F:\springworkspace\.metadata\.plugins),在.metadata\.plugins中删掉以 ...

  4. myeclipse一直停留在Loading workbench界面上的处理办法

    找到工作目录比如我的叫work,在.metadata中删掉以下两个文 件,再次重启myeclipse走一个! org.eclipse.ui.workbench org.eclipse.ui.workb ...

  5. IDEA 中tomcat启动问题时,一直出去发布状态,无法加载项目

    解决方法:排查clean.build之前添加的xml中的sql语句,发现sql多写了一个逗号,导致无法加载项目.修改完sql,就可以跑了.

  6. Eclipse编译无响应

    Eclipse编译无响应 Eclipse进程无响应结束进程后,或电脑直接断电后,重新打开Eclipse偶尔重新编译会卡进度,下面有一种解决方案: 首先找到卡进度的工程的名字,关闭Eclipse,找到该 ...

  7. 提示“应用程序无法启动,因为应用程序的并行配置不正确”不能加载 System.Data.SQLite.dll

    新版本SQLITE,如果下载Precompiled Binaries版会出现提示“应用程序无法启动,因为应用程序的并行配置不正确”不能加载 System.Data.SQLite.dll. 下载Prec ...

  8. tomcat启动很慢 停留在 At least one JAR was scanned for TLDs yet contained no TLDs.

    部署项目时候,发现启动特别慢,要等好几分钟,这不正常啊.然后每次部署都停留在 At least one JAR was scanned for TLDs yet contained no TLDs. ...

  9. 痞子衡嵌入式:飞思卡尔i.MX RT系列MCU启动那些事(6)- Bootable image格式与加载(elftosb/.bd)

    大家好,我是痞子衡,是正经搞技术的痞子.今天痞子衡给大家介绍的是飞思卡尔i.MX RT系列MCU的Bootable image格式与加载过程. 在i.MXRT启动系列第三篇文章 Serial Down ...

随机推荐

  1. (C#) 基本概念一览表

    A abstract class An abstract class is a class that must be inherited and have the methods overridden ...

  2. [转载]iOS 归档操作 NSCoding

    最近一个项目需要保存到本地文件,想用plist,但是发现很多内容是自定义的,于是只能自己归档接档.不难,找了一篇范文大家保存一下,方便以后学习使用. 转自:http://mobile.51cto.co ...

  3. 解决bash: mysql: command not found 的方法

    root@DB-02 ~]# mysql -u root-bash: mysql: command not found 原因:这是由于系统默认会查找/usr/bin下的命令,如果这个命令不在这个目录下 ...

  4. (String) 205.Isomorphic Strings

    Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the chara ...

  5. CGContextAddArcToPoint和CGContextAddArc

    比较难的是CGContextAddArcToPoint 代码如下: CGContextRef context=UIGraphicsGetCurrentContext(); CGContextSetRG ...

  6. impala简单使用

    impala-shell connect ha1:21000 更新元信息 invalidate metadata;

  7. 【原】Windows下常用命令

    1.小技巧 打开"运行"对话框(Win+R),输入cmd,打开控制台命令窗口... 也可以通过cmd /c 命令 和 cmd /k 命令的方式来直接运行命令 注:/c表示执行完命令 ...

  8. Spring day01笔记

    struts:web层,比较简单(ValueStack值栈,拦截器) hibernate:dao层,知识点杂 spring:service层,重要,讲多少用多少 --> [了解]   sprin ...

  9. Visual Studio 2013新建工程导入现有代码文件夹并且保持目录结构

    本文提供了一个在Windows环境下使用Visual Studio 2013编辑现有源代码并且保持目录结构的方法.本文使用VS2013中文社区版做示例(本版本为免费版,可在VS官网下载),其他版本的V ...

  10. 使用history.back()出现"警告: 网页已过期的解决办法"

    原因: 表单提交页面中使用了 session_start 函数.由于我们后退浏览的是缓存页,而该函数会强制当前页面不被缓存. 解决: PHP: 此提示出现在一个POST提交的页面,点到其它页面后,通过 ...