Issue: New Web project in Eclipse, deployed to Tomcat, can be run in Tomcat, but the built project does not appear in Tomcat's WebApps directory.
Cause: Eclipse is not like MyEclipse will deploy the project to WebApps by default, but instead deploys the project to. metadata\.plugins\org.eclipse.wst.server.core\tmp1\ The Wtpwebapps. Workaround: Change the location of the deployment project from default to WebApps under Tomcat
- Stop the Tomcat server (stop)
- Delete a deployed item in the default location (add and remove)
- Clear the relevant data for this location (clean)
- Open the Tomcat's modify interface
- Find servers location, select second (use Tomcat installation)
- Modify the Deploy path to WebApps
- Save Close
It is important to note that the steps must be taken first, or else the following actions cannot be performed.
Eclipse deploys Web project to local tomcat but not found in WebApps