First copy the project under myeclipse to IDEA's deployment directory, delete some unused configuration files, and leave only a clean project
Open IDEA, click import Project, import a project, and select the project just copied in the IDEA deployment directory
Click to create a new project, then next
import the jar package
select jdk version
IDEA automatically finds and loads the web.xml file under WEB-INF under WebRoot
After clicking Next, import the project into IDEA and configure it
Click File-->Project Structure-->Artifacts
Load the dependency jar package of tomcat Project Structure-->Modules-->Dependencies Click the + sign:
Click OK, then configure tomcat
Change the name of tomc and select the path of tomcat
At this point, the configuration is complete, you can click Start
Transfer: https://www.cnblogs.com/liaoyanglong/p/6418290.html