IntelliJ IDEA在“完成,保存缓存”时挂起 [英] IntelliJ IDEA hangs while "Finished, saving caches"

查看:1525
本文介绍了IntelliJ IDEA在“完成,保存缓存”时挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我在IDEA中进行make(Java项目)时,编译过程都会挂起完成,保存缓存。在我继续之前,我必须杀死这个过程。我试图使用File - > Invalidate Caches但没有成功。

Each time I do a make (a Java project) in IDEA, the compile process is hanging stating "Finished, saving caches". I have to kill this process before I can continue. I tried to use File -> Invalidate Caches without success.

任何想法?

推荐答案

另外一种解决方法是将mac的主机名与localhost一起添加到/ etc / hosts文件中,如下所示:

one more workaround is adding your mac's hostname to /etc/hosts file along with localhost like the following:


127.0.0.1 localhost< hostnameOfMac>
:: 1 localhost< hostnameOfMac>

这解决了我的问题。

这篇关于IntelliJ IDEA在“完成,保存缓存”时挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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