The IDEA imported project cannot be deployed to tomcat for release, the solution
Problem : When importing a web project, idea does not regard it as a web, so you need to modify the project structure yourself
The error is as follows: It is found that the icon in front of the project web does not have a small dot.
Solution :
Add these 2 items. For details, see the link at the beginning