IntelliJ IDE | .iml File lost or deleted

前端 未结 10 970
梦谈多话
梦谈多话 2021-02-06 20:07

Last week I was working on a Java EE project with IntelliJ IDE.

Today: As I started up my IntelliJ 2016.1 it gave me the error:

Error Loading Project

10条回答
  •  無奈伤痛
    2021-02-06 21:10

    If you can't recover it via the most upvoted way, you could simply copy another .iml file, paste it into the package* that requires a .iml file, and rename the .iml file to the name of the package. This should work if it is the same type (in my case UTF-8).

    *Copy the .iml file by going into package files, right-clicking the package name, and press paste.

    You can accomplish this in the left-hand task bar. I have prepared a video demonstration (there's no audio).

提交回复
热议问题