http://m.2cto.com/kf/201608/539241.html
不用管原項(xiàng)目,intellij直接如圖

Paste_Image.png
找到需要導(dǎo)入的文件夾后點(diǎn)擊確定

Paste_Image.png
之后應(yīng)該是一系列的next(懶得截圖了)
然后更改jdk,添加tomcat(可能還要配置過(guò)tomcat路徑)
程序不報(bào)錯(cuò)之后 看到這個(gè)fix:

Paste_Image.png
點(diǎn)擊
進(jìn)入

Paste_Image.png
點(diǎn)擊

Paste_Image.png

Paste_Image.png

Paste_Image.png

Paste_Image.png
點(diǎn)擊ok

Paste_Image.png
確認(rèn)
然后在run配置

Paste_Image.png
項(xiàng)目成功轉(zhuǎn)換