Deploy the Java Web Project Step 4: Deploy the project.
1. Export the war package file
Select the project File -> Export -> Web -> WAR file;
2. Modify the configuration file to ensure consistent database information
3. View the Tomcat console and exit with Ctrl + C
[root@localhost logs]# tail -f catalina.out
4. Cancel MySQL's case sensitivity of table names and enter the configuration file
[root@localhost usr]# vi my.cnf //Add to lower_case_table_names = 1