Idea creates a Java Web project (mainly idea 2022)

Time:2022-5-2

Note: the following can only be done in idea professional edition

catalogue

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)

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

Other idea versions

Tomcat configuration


Idea2022 (startup interface is as follows)

Idea creates a Java Web project (mainly idea 2022)

Step 1: File – New – Project

Idea creates a Java Web project (mainly idea 2022)

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.

Idea creates a Java Web project (mainly idea 2022)

Step 3 right click the project – add framework support (English is.. frame..)

Idea creates a Java Web project (mainly idea 2022)

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.

Idea creates a Java Web project (mainly idea 2022)

If the project structure is as shown in the figure, the creation is successful

Idea creates a Java Web project (mainly idea 2022)

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

Idea configuring Tomcat for Java Web projectsIdea creates a Java Web project (mainly idea 2022)https://blog.csdn.net/qq_41567818/article/details/124269406