Eclipse 在开始之前就冻结了
今天我一直在尝试打开 Eclipse 来开始我的工作,但它每次在加载过程中都会冻结。
我的日食是赫利俄斯。有人告诉我应该从 .metadata 文件夹中删除一个名为 .lock 的文件,但仍然不起作用。
有谁知道我如何“融化”这个东西?
ps:我昨天打开了,没有任何问题。
I've been trying to open Eclipse to start my work today, and it freezes everytime during load.
My Eclipse is Helios. Someone told me I should remove a file called .lock from .metadata folder, but still didn't work.
Does anyone have any idea of how do I "melt" this thing up?
ps: I opened it yesterday with no problems.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您是否已尝试使用 -clean 参数启动 Eclipse?有时这可以解决一些问题..
Have you already tried to start Eclipse with a -clean parameter? Sometimes this can resolve some issues..
我建议 Eclipse 中的插件存在一个(大)问题。因为项目插件或运行时将稍后执行。
创建一个新工作区并从旧工作区重新导入您的项目。如果您有 vcs,您可以重新签出它们。
I would suggest a (big) problem with a plugin in Eclipse.. because project plugins or runtimes will execute later.
Create a new workspace and repimport your projects from your old workspace. If you have a vcs, you can re-checkout them.
使用
-clean
选项启动它。它应该需要更长的时间(取决于您的 Eclipse 配置和工作空间,但如果没有什么真正损坏,它将使其正常工作)。
Start it with the
-clean
option.It should take a bit longer (depends on your eclipse configuration and workspace, but if nothing is really broken, it will get it to work).
我相信您的工作空间出了问题。在这种情况下,我通常会删除当前的并创建新的。通常最多需要 5 分钟(如果我必须添加 20 个项目)。在大多数情况下,需要的时间更少。
I believe something is wrong with your workspace. I typically remove current and create new one in such case. It usually takes up to 5 minutes (if I have to add 20 projects). In most cases it takes less.
在由于某种原因不得不强行关闭 Eclipse 后启动 Eclipse 时,我也经历过类似的情况。
如果加载 SVN 插件时它总是挂起(如您的屏幕截图所示),则可能与此有关。在这种情况下,我建议执行以下操作:
I have experienced something similar when launching Eclipse after having to force close it for some reason.
If it always hangs when loading the SVN plugin — like in your screenshot — it is likely to be related to that. In this case I suggest the following: