IntelliJ freezes for about 30 seconds before debugging

前端 未结 3 1277
孤城傲影
孤城傲影 2020-12-07 13:39

when i try to debug my java app the IDE freezes for about 30 seconds with the message: \"Finished, saving caches\"

After it unfreezes all works fine. It happens ever

3条回答
  •  清歌不尽
    2020-12-07 14:11

    If anyone else is still having this problem, I found this related issue on the IntelliJ board: https://youtrack.jetbrains.com/issue/IDEA-157303

    It seems the problem is related to resolving hostnames. The recommended workaround is to include the following line in your /etc/hosts file:

    127.0.0.1       localhost     .local
    

    And for IPv6 resolving, the same:

    ::1             localhost     .local
    

提交回复
热议问题