1. There are two ways to resolve the conflict port number Tomcat startup
1. The first:
Check local port usage, find 8080 port is occupied, kill it
1. Check the local port command: cmd-> netstat -ano
2. Locate the Local Address: 8080 port, remember the corresponding PID
3. Open the Task Manager, for more information (win10 is in the details seen PID, win7 is to choose a site in view of the above)
4. PID found in step 2, to close it. 8080 port can make
2. The second
Modify the tomcat installation directory conf in server.xml, modify the corresponding port (more may need to modify the port) are not recommended.
2. Solve window flash when tomcat starts, but after the problem
Properly configured jdk environment variable, using the% JAVA_HOME% form, avoiding the use of the direct path form
3. solve the tomcat start tomcat9w.exe error, the service is not installed
Tomcat configuration environment variable
CATALINA_BASE tomcat installation path
CATALINA_HOME tomcat installation path
Then enter cmd, enter the installation path under tomcat bin directory, enter the command to start the use default tomcat start if 4 errors, modify tomcat9w.exe in the top java, service.bat install hook after successful installation