BOS eclipse 一直卡在启动加载画面

2023-12-23 11:08
文章标签 加载 启动 eclipse 画面 bos

本文主要是介绍BOS eclipse 一直卡在启动加载画面,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

做开发的同学们或多或少的都会遇到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.然后重启 eclipseClose eclipseDelete org.eclipse.core.resourcesRename org.eclipse.core.resources_old back to org.eclipse.core.resources启动 eclipse

这篇关于BOS eclipse 一直卡在启动加载画面的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/527822

相关文章

Nginx启动失败:端口80被占用问题的解决方案

《Nginx启动失败:端口80被占用问题的解决方案》在Linux服务器上部署Nginx时,可能会遇到Nginx启动失败的情况,尤其是错误提示bind()to0.0.0.0:80failed,这种问题通... 目录引言问题描述问题分析解决方案1. 检查占用端口 80 的进程使用 netstat 命令使用 ss

spring-boot-starter-thymeleaf加载外部html文件方式

《spring-boot-starter-thymeleaf加载外部html文件方式》本文介绍了在SpringMVC中使用Thymeleaf模板引擎加载外部HTML文件的方法,以及在SpringBoo... 目录1.Thymeleaf介绍2.springboot使用thymeleaf2.1.引入spring

Android里面的Service种类以及启动方式

《Android里面的Service种类以及启动方式》Android中的Service分为前台服务和后台服务,前台服务需要亮身份牌并显示通知,后台服务则有启动方式选择,包括startService和b... 目录一句话总结:一、Service 的两种类型:1. 前台服务(必须亮身份牌)2. 后台服务(偷偷干

关于Spring @Bean 相同加载顺序不同结果不同的问题记录

《关于Spring@Bean相同加载顺序不同结果不同的问题记录》本文主要探讨了在Spring5.1.3.RELEASE版本下,当有两个全注解类定义相同类型的Bean时,由于加载顺序不同,最终生成的... 目录问题说明测试输出1测试输出2@Bean注解的BeanDefiChina编程nition加入时机总结问题说明

Windows设置nginx启动端口的方法

《Windows设置nginx启动端口的方法》在服务器配置与开发过程中,nginx作为一款高效的HTTP和反向代理服务器,被广泛应用,而在Windows系统中,合理设置nginx的启动端口,是确保其正... 目录一、为什么要设置 nginx 启动端口二、设置步骤三、常见问题及解决一、为什么要设置 nginx

springboot启动流程过程

《springboot启动流程过程》SpringBoot简化了Spring框架的使用,通过创建`SpringApplication`对象,判断应用类型并设置初始化器和监听器,在`run`方法中,读取配... 目录springboot启动流程springboot程序启动入口1.创建SpringApplicat

树莓派启动python的实现方法

《树莓派启动python的实现方法》本文主要介绍了树莓派启动python的实现方法,文中通过图文介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧... 目录一、RASPBerry系统设置二、使用sandroidsh连接上开发板Raspberry Pi三、运

SpringBoot项目启动后自动加载系统配置的多种实现方式

《SpringBoot项目启动后自动加载系统配置的多种实现方式》:本文主要介绍SpringBoot项目启动后自动加载系统配置的多种实现方式,并通过代码示例讲解的非常详细,对大家的学习或工作有一定的... 目录1. 使用 CommandLineRunner实现方式:2. 使用 ApplicationRunne

SpringBoot项目删除Bean或者不加载Bean的问题解决

《SpringBoot项目删除Bean或者不加载Bean的问题解决》文章介绍了在SpringBoot项目中如何使用@ComponentScan注解和自定义过滤器实现不加载某些Bean的方法,本文通过实... 使用@ComponentScan注解中的@ComponentScan.Filter标记不加载。@C

springboot 加载本地jar到maven的实现方法

《springboot加载本地jar到maven的实现方法》如何在SpringBoot项目中加载本地jar到Maven本地仓库,使用Maven的install-file目标来实现,本文结合实例代码给... 在Spring Boothttp://www.chinasem.cn项目中,如果你想要加载一个本地的ja