Eclipse deploys Web project to local tomcat but not found in WebApps

Source: Internet
Author: User

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
  1. Stop the Tomcat server (stop)
  2. Delete a deployed item in the default location (add and remove)
  3. Clear the relevant data for this location (clean)
  4. Open the Tomcat's modify interface
  5. Find servers location, select second (use Tomcat installation)
  6. Modify the Deploy path to WebApps
  7. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.