1)File->import->Git->project from git

输入git地址,之后next

选择正确分支,然后next,然后import as general project 然后finish

(2)右键项目,然后选择Existing Maven Project

之后 next ->finish即可