Tomcat:apache-tomcat-8.0.50-windows-x64 和 apache-tomcat-8.5.29-windows-x64:
After downloading Tomcat, unzip the file in the c or d drive, do not include the Chinese name.
Right click on my computer properties click on advanced system settings :
Click Advanced and click Environment Variables, as shown in the figure
Click User Variables, New
Create a new tomcat_home variable, the variable value is the storage path of your tomcat after decompression, remember to click to the bin folder, OK
The next step, we should pay attention to, I didn't find it at the beginning, and I didn't solve it after a day:
Add %TOMCAT_HOME%\BIN under the classpath path, remember that if you have set other environment variables before this path, remember to add a dot and a semicolon, if it is in English, remember to remember. As shown
Click OK, and remember to click OK each time you exit a step. .
Next, open the decompressed file of tomcat to the bin file and find startup.bat:
If it shows:
In the browser, enter: localhost:8080, as shown in the figure
success. . .
ps: Some people will flash back when they open startup.bat. Generally, there is a problem with the environment variables. Check again.
Some people enter 8080, but it may not be displayed, because port 8080 is occupied, or there are multiple jdk versions.
In addition, it is the problem of eclipse or Myeclipse configuring tomcat, especially when it is matched with 8.5, it is prone to incompatibility.
The description will be continued later. . . .