Eclipse does not recognize problems with WEB projects __web

Source: Internet
Author: User
Eclipse does not recognize problems with Web projects

1. If eclipse cannot recognize the Web project as a Web project after it is imported and cannot be published to the Tomcat container, you can take the following steps to try to resolve it: Select the item name and right-click, select "Properties", and select "On the left side of the panel" Project Facets ", how is the first configuration, click on the right-hand part of the" Convert to faceted form ... " Link. Select the dynamic WEB module item in the right section and the other unchanged.

Under the panel will appear "further Configuration availabe" link, after clicking Configure "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 Project facet Dynamic WEB Module version 3.0 is not supported appears when you publish your project, open the project file under the Eclipse working directory, or the module version conflict. into the. Settings directory, open

Org.eclipse.wst.common.project.facet.core.xml file, the version value of the modified Jst.web is 2.5 (low version). You can now publish the project PS: I modify the version of Dynamic Web module 2.5 in the project facets panel to prompt for an error message.

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.