Eclipse does not recognize problems with Web projects

Source: Internet
Author: User

1. If you import a Web project,Eclipse cannot recognize it as a Web Project and therefore cannot publish to Tomcat container, you can take the following steps to try to resolve:

Select the project name and right-click, select the "Properties" Item, select "project Facets" on the left side of the panel for the item,How to configure it for the first time, click " Convert to faceted form : "link. In the right section, select the Dynamic Web Module Item, and the other is unchanged.

The "further configuration availabe" link appears at the bottom of the paneland is then configured with "Context root", "Content Directory". If your Context directory is not the default webcontent folder, you can change it to match the name in your project.

2. If "Projectfacet Dynamic WEB Module version 3.0is not supported" appears when you publish the project, which is the module version conflict, open the eclipse< /c3> The project file under working directory, enter the . Settings directory, open Org.eclipse.wst.common.project.facet.core.xml file, modify jst.web version The value is 2.5(low version).

Now it's time to publish the project.

PS: I modified the version of Dynamic Web module to 2.5in the project facets panel , An error message is prompted.

Eclipse does not recognize problems with Web projects

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.