Package multiple maven projects in idea and publish them to the server

The first step is to configure maven, delete the target of the project, and recompile

The second step is to package the entire project

The third step, use Xftp to upload the war package to Tomcat's webapps folder, use tar -xvf manage.war to decompress the project

The fourth step, use the shell to enter the bin directory of Tomcat, and execute the command sh startup.sh to start Tomcat

The fifth step, enter the logs directory of Tomcat, execute the command tail -f catalina.out to view the log to see if an error is reported

The sixth step, enter the URL to visit

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324527139&siteId=291194637