Editor:
method one:
(I use this import method File-> New-> Project from existing Sources)
https://how2j.cn/k/idea/idea-maven-idea-ssm-import/1398.html
Method Two:
(Open directly open)
https://www.cnblogs.com/dpl9963/p/10075456.html
the difference:
For example this project, then import, idea will automatically determine a maven project, and therefore will automatically create a project structure related files, such as it .idea folder.
But then directly open, there is no equivalent to only open a directory, idea is unable to recognize this directory as a maven project