当你需要在IDEA中导入别人写好的Moudle时,按照以下步骤: File–>New–>Moudle from Existing Sources… 选择需要导入的Moudle,我这里需要导入login: 选择Create……,再不停继续…… 好了,大功告成~