content
Second, the cause of the problem
1. Problem phenomenon
Use IDEA to open the web project, then run the project and report an error.
Second, the cause of the problem
The Tomcat in the previous project no longer exists, and you need to add your own Tomcat running project.
3. Solutions
File->Project Structure->Modules, delete the old Tomcat, click the plus sign, select Library Type, and select the corresponding Tomcat. This way your project runs under your Tomcat.
At this point, your problem is solved.