The first time I played the idea tool, I wanted to run a Java project, but I didn't know how to run it, I clicked Run, and I couldn't find tomcat server on the configuration page.
The solution is as follows:
File -> Settings -> Plugins to search for tomcat, as shown in the figure below:
After checking, just click OK! No need to click the install xxxxx button on the screenshot,
Restart the idea tool. After the idea tool is opened, we can find Tomcat Server in the startup and debugging interface, as shown in the figure below:
Click Configure, as shown below:
Here, we need to download tomcat first, open the tomcat official website (https://tomcat.apache.org), as shown below:
Since my computer is a win10 64-bit system, I clicked "64-bit Windows zip" to download, and after I finished downloading, I unzipped it to the root directory under the C drive, and my tomcat path was: C:\apache-tomcat-7.0.90
idea Select the path name of your Tomcat and click OK, as shown in the figure below:
Tomact is already added, and then you can add a running project.
|