2,选择Maven Build下的相关项目,单击打开,然后选择source页面,(不要选择该页面下面的search for duplicate source files on the path ) 添加你的项目即可