Download the tomcat file, the file is an EXE installation file, download and install directly.
Enter Tomcat into the official website to find the download file. There is no trick to install files, just click Next.
- 2
Also note the installation directory when installing, because one will configure the same environment variables as java.
Also open the Configuration window for the environment variable, click New in the System environment variable column.
- 3
Enter the following:
Variable name: catalina_home
Variable value: the path just installed
- 4
Test whether the installation configuration was successful
Locate the Bin folder under the dark family's path, locate the executable file, run it, and then perform the following actions.
Open the browser and enter http://localhost:8080. If the following content appears, the description succeeds.
END
Configuration of Eclipse
Download the latest version of Eclipse from the Eclipse website, then unzip it and don't need to install it.
Run the Eclipse program file to open the Eclipse work interface.
Select Window--preferences in the menu bar.
Select the Server--runtime environment--on the left and select add--in the pop-up window and select your Tomcat version.
Select the path to Tomcat, and the Java version to complete the configuration work.
Tomcat Installation and Eclipse configuration