Prerequisite: There is a cloud server and JDK and Tomcat are configured. If there is no other cloud database, mysql database must be installed and configured on the cloud server.
1. The project exports the war package (I take IDEA as an example).
1. Enter the Project Structure interface of the project
2. Upload the war file to webapps under the Tomcat directory. (You'd better practice configuring war on your own machine to avoid unnecessary operations)
First shut down the server tomcat
3. Restart Tomcat and visit our project