How to configure Tomcat server when IDEA opens other people's web projects? (Solve the problem that there is no small blue dot in the web folder)

Problem description: When IDEA opens other people's web projects, the web folder does not have a small blue dot, and an error occurs when configuring the Tomcat server. Follow the steps below to solve the problem step by step.

1. Open File–>Project Structure and operate as shown in the figure below

Insert image description here

2. Click Artifacts in the left column of this page, as shown below

Insert image description here
Click ok–>apply–>ok in sequence. After clicking web, there will be a small blue dot.

Insert image description here

3. Add Tomcat server, as shown below

Insert image description here

Change the file name in the first step of the picture below to be consistent with the project name

Insert image description here
Insert image description here

Guess you like

Origin blog.csdn.net/m0_50736744/article/details/126143665