About solutions that do not have a Web application under the WebApps directory when deploying in Eclipse

Source: Internet
Author: User

Test environment:


WINDOWS8 system


Tomcat8.0 Server


Cause: Eclipse configures tomcat the default Web application is in the Wtpwebapps directory that is deployed to the. Metadata\.plugins\org.eclipse.wst.server.core\tmp0 directory.


To modify the method:

Under Eclipse, open the Server View tab and, if you have deployed the project, remove it first, as shown in figure:



After removing, right-click and select clean:


Then right hit open open, enter the configuration page. The options in the red box will not be gray, choose the second option

1. Use workspace metadata (does not modify Tomcat installation);

2. Use Tomcat installation (take control of Tomcat installation);

3. Use Custom location (does not modify Tomcat installation);


However, if the option is still gray, you need to repeat the previous operation before you can modify this configuration;

In addition, there are two parameter input boxes below this option:

1. Server path (that is, tomcat or Eclipse root directory)

2. Deploy path (the root directory of the engineering files, Tomcat generally webapps,workspace under the general Wtpwebapps)

By default deploy path is. metadata\.plugins\org.eclipse.wst.server.core\tmp0\

At this point, you can change to Tomcat's Web application directory.



Resources:

Http://www.xue163.com/152/6/1523779.html

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.