Note: the following can only be done in idea professional edition
catalogue
Idea2022 (startup interface is as follows)
Step 2: create a new project – fill in the project name (self taken and not in Chinese)
Step 3 right click the project – add framework support (English is.. frame..)
Step 4 check web application – check create web XML – OK
If the project structure is as shown in the figure, the creation is successful
Idea2022 (startup interface is as follows)
Step 1: File – New – Project
Step 2: create a new project – fill in the project name (self taken and not in Chinese)
Note: the default language is Java. Beginners who build the system should choose IntelliJ. Others should choose Maven / gradle according to their own needs. The JDK version should be customized and should be jdk8 or above.
Step 3 right click the project – add framework support (English is.. frame..)
Step 4 check web application – check create web XML – OK
Note: the default version is 4, which is not recommended to be modified. It needs to be modified manually if there are special requirements.
If the project structure is as shown in the figure, the creation is successful
Other idea versions
When creating a new project in the first step, other idea versions should be selectedNew Java project, the other steps are consistent with idea2022.
Tomcat configuration
Refer to the following article