Idea create java web project
1. File-New Project specifies the tomcat version
2. Write business code SRC file is the back-end code, and WEB file is the front-end (refer to the teacher's class code structure)
3. Add local tomcat, check port number, war and other startup programs
4. The project still cannot be started, check the following figure