Eclipse在启动时挂起 [英] Eclipse hangs on startup

查看:357
本文介绍了Eclipse在启动时挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有运行Eclipse的问题。我尝试了3.7,4.2和4.3版本与java 6和java 7.没有什么可以帮助我。它显示我弹出屏幕,但它没有开始加载(我没有机会选择工作区)。
启动它与 -debug -console 参数显示它在这一刻停止运行:

 加载捆绑的时间:10 
启动应用程序:6374
osgi>

我已经启动了JVisualVM,但是我看不到任何特别的东西。没有死锁等。



修改



我的观察深入人心。 .. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~现在它停止在

 加载捆绑的时间:8 
org.eclipse.m2e.logback.configuration:组织在初始化状态位置之前激活了.eclipse.m2e.logback.configuration bundle。状态位置初始化后重试。
开始申请:3557

编辑3



我已经设法启动它,但只能使用 -clean 参数,并从命令行中选择工作区 - 数据参数。

解决方案

我有完全相同的问题,可以使用答案解决这里 https://stackoverflow.com/a/5504530/1275767 ,将项目移出工作区并返回在Eclipse已经启动并停止之后再次执行。



使用-clean -data启动eclipse,但是每当我使用eclipse gui切换工作区时,它都不会加载。


I have problem with running my Eclipse. I tried 3.7, 4.2 and 4.3 versions with java 6 and java 7. Nothing can help me. It shows me popup screen but it doesn't start to load( I dont have chance to choose workspace). Starting it with -debug -console parameters shows that it stops running in this moment:

Time to load bundles: 10
Starting application: 6374
osgi> 

I have started JVisualVM but I cannot observe anything special. There are no deadlocks etc.

Edit

My observations were to deep... After ~60s pid of eclipse is dead.

Edit 2

Now it stops on

Time to load bundles: 8
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized.  Will retry after the state location is initialized.
Starting application: 3557

Edit 3

I have managed to start it but only with -clean parameter and with choosing workspace from command line -data parameter.

解决方案

I've had exactly the same problem and could solve it using the answer here https://stackoverflow.com/a/5504530/1275767 which works by moving the projects out of the workspace and back in again after Eclipse has been started and stopped.

Starting it with -clean -data started eclipse but whenever I switched the workspace using the eclipse gui it wouldn't load.

这篇关于Eclipse在启动时挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆