http://m.2cto.com/kf/201608/539241.html
不用管原项目,intellij直接如图

Paste_Image.png
找到需要导入的文件夹后点击确定

Paste_Image.png
之后应该是一系列的next(懒得截图了)
然后更改jdk,添加tomcat(可能还要配置过tomcat路径)
程序不报错之后 看到这个fix:

Paste_Image.png
点击
进入

Paste_Image.png
点击

Paste_Image.png

Paste_Image.png

Paste_Image.png

Paste_Image.png
点击ok

Paste_Image.png
确认
然后在run配置

Paste_Image.png
项目成功转换