1. Configure the java environment
It can solve the flashback problem when tomcat starts
to configure JAVA_HOME
Configure the CLASSPATH variable value.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
configure the path
and enter java, javac, java -version in cmd
2. Configure Maven
Configure M2_HOME
configure MAVEN_HOME
configure path
3. Create a maven project in IDEA and deploy it on Tomcat
1. First create a maven project
2. Set maven information in the setting
3. Deploy on Tomcat
4. Set the basic information of Tomcat
5. Select the project to run
6. Start Tomcat