Right click on the project name and select "Export";
In the dialog box that pops up, you can directly search for "WAR" or view them one by one, it should be in "Web". In the dialog box that pops up, you can search for "WAR" or view them one by one, it should be in "Web", select "WAR file", and then "Next";
In the next dialog box, you can specify which webService project you want to export and to which folder, and you can also specify which folder you want to export to, and you can also specify which folder you want to export to. folder, you can also specify which version of tomcat you want to export to, the picture is as follows:
Note that the exported file is ".war" as the file extension;
Then you export the war file to the tomcat installation directory to copy the war file, directly put the war file inside the folder of the webapps can be!
Then copy the exported WAR file to the tomcat installation directory!
Then run the tomcat service, either command line or through the service, depending on how your tomcat is installed;
Through the browser to visit "http://127.0.0.1:8080/<your webService project name>" and you can! " and you're good to go!
tomcat running process will automatically webapps folder in the war file extracted into the appropriate folder, you can run tomcat after you can go back to see the webapps folder, which will certainly be more than one of your webservice project folder.