Reason: When starting tomcat, environment variables and configuration information need to be read, but these cannot be read, so there will be a flashback.
Scenario: Configuring Environment Variables and Information
step1: Click on startup.bat to edit at the beginning of the file
SET JAVA_HOME=D:\Program Files\Java\jdk1.7.0_79 (location of jdk)
SET TOMCATE_HOME=D:\Workspaces\apache-tomcat-5.5.33 (location of tomcat)
step2: Click shutdown.bat to edit at the beginning of the file
SET JAVA_HOME=D:\Program Files\Java\jdk1.7.0_79 (location of jdk)
SET TOMCATE_HOME=D:\Workspaces\apache-tomcat-5.5.33 (location of tomcat)
keep.
step3: start startup.bat