1. 创建一个空项目
2. 打开Project Structure 选择 Modules 点击上面的 + 号 Import Module,
3. 选择Create module from existing sources
4. 一路next,如果出现overwrite,覆盖就行
5. 导入成功出现‘Web’ Fact resources are not included in an artifact
idea需要给你创建一个能识别部署的id
6. 点击fix,选择create,点击ok
7. 如果出现lib包没导入的话,一路next