git拉代码,IntelliJ idea报错,cannot load module xxxxx

时间:2023-03-10 03:20:03
git拉代码,IntelliJ idea报错,cannot load module xxxxx

1 从git上下工程的时候,IntelliJ idea报错,cannot load module xxxx

VCS-git-clone-ssh:xxxx ,报错cannot load module xxxx,然后项目目录不显示代码

查看左下角log:cannot load module xxx,xxx.iml does not exist,iml文件不存在

方法是:File-open,在项目代码目录里选中pom.xml,勾选删除原来的重新下载,可使impfile重建