⒈ start Idea, select Import items
After selecting the project path to import, select the type of project all the way to next.
⒉ select File-> Project Structure Project open configuration window (ctrl + alt + shift + s)
Select the Modules node under your project, open the Dependencies selection of cards, remove the incorrect dependency, and then add the JDK and Tomcat dependence
⒊ Choose your right to add items to configure the appropriate procedural framework under the Modules node.
⒋ new java at Libraries node library, jar under the package is introduced classes
In the Artifact node ⒌ click on Create Artifact, idea generation will automatically give you a basic artifact.
⒍ in the Project node configuration items related to the environment after clicking OK
Configuring Tomcat ⒎