Eclipse modifies the settings for the Web project deployment path Wtpwebapps WebApps, after you add the server------>tomcat, to the server console
The default deployment path for Eclipse is
D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps (as determined by his workspace)
If you added a project to Tomcat then follow the steps below to configure it
1. Locate the server panel and right-click on the current Tomcat and remove all of the works first.
2. Then right-click the Tomcat, select Clean, and clear.
If you have just added a server that does not have a project deployed, you can double-click Tomcat directly. (There are items, directories, etc. cannot be changed and cannot be edited.) )
3, Double-clicking that Tomcat opens the Properties panel and finds the second server locations on the left.
Select the second one will create a Web project named Wtpwebapps folder under the Tomcat path that hosts the Tomcat publication;
Select the third one, you can enter the path you want in Server path, save it.
In general, we'll put the deployment path in Tomcat's WebApp directory.
Eclipse Modify settings for Web project deployment path Wtpwebapps WebApps