Java Web project started

Idea create java web project

1. File-New Project specifies the tomcat version

Insert picture description here
Insert picture description here

Insert picture description here

Insert picture description here

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)

[External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-TBoZeDeL-1611298641593)(assets/clip_image010.jpg)]

3. Add local tomcat, check port number, war and other startup programs

[External link image transfer failed. The origin site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-k0YVkadT-1611298641595)(assets/clip_image012.jpg)]
[External link image transfer failed. The origin site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-iKKTOFyU-1611298641596)(assets/clip_image014.jpg)]

4. The project still cannot be started, check the following figure

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/cui1104/article/details/112985269