加载工作空间时Eclipse崩溃

时间:2018-01-18 03:23:40

标签: java eclipse

它表示发生错误并告诉我检查日志文件。

我正在使用Eclipse Neon 4.6.0。

这是我的.log文件:https://pastebin.com/FqQc1agM

我有点感觉这是这里的部​​分,但我不知道这意味着什么:

    !ENTRY org.eclipse.egit.ui 2 0 2018-01-16 09:28:42.578
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\dwagner'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

我尝试搜索有类似问题的人,但是当加载工作区时,似乎没有人遇到崩溃问题,只是初始加载。我试着看一下.log文件但是不能用它做任何有用的事情,因为我对这样的应用程序故障排除不是很了解。

1 个答案:

答案 0 :(得分:0)

如果不直接访问日志文件和系统,就不容易诊断问题。我可以做的最好的建议是打开,空工作区(通过修改data文件中的eclipse.ini参数)。然后,打开Eclipse并将导入旧项目放入新工作区。

缺点:通过这种方式,你不会丢失你的代码,但你会放松你的插件和几个配置。