Linux (CentOS) deploying Java Web projects

    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

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326993676&siteId=291194637