After the maven project is developed,
run maven install
Then a folder named after the project will be added to the target directory of the project, and a WAR package named after the project, <Context path="" docBase=" in the server.xml file of your tomcat deployment D:\workspace2017\Tygps\target\tygps" reloadable="true" autoDeploy="true" defaultSessionTimeOut="3600"/> can be deployed directly to this directory. Then start it up.