Eclipse modifies the Web project deployment path __web

Source: Internet
Author: User

Web project with Tomcat published in Eclipse, changing its deployment path

My eclipse's working directory is d:/workspace

Configure Tomcat First

Select your Tomcat version



Click Next


Let's not add the item in here.

Let's start with a change to the Tomcat deployment path, and Eclipse's default deployment path is

D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps (according to own workspace decision)

If you add an item to Tomcat, then follow these steps to configure it

1, find the server panel, right click on the current Tomcat, remove all of the works.

2, and then right click on the tomcat, choose Clean, empty.

3. Double-clicking that Tomcat will open the Properties panel and locate 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 Tomcat publishing;

Select the third one, and you can enter the path you want in server path and save it.

Normally, we'll put the deployment path in the directory of Tomcat's WebApp.

Related Article

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.