No Web-inf folder and Web. xml file after creating Maven project in "Little Tricks" Eclipse

Source: Internet
Author: User
Lazy, a picture with the following steps to get it done.

1, right-click the project, select Propertities after the selection of ① (obscured);

2, first do not ② tick off, Click Apply, and then in the ② place tick. At this point the ④ position will appear east, click the Blue Hyperlink. Fill in the path created by Web-inf. Maven Project fill in Src/main/webapp Remember to tick the option to automatically create Web. XML below and click OK.

Add: In step 2, the ④ location may not appear the result that should appear, blogger himself encountered is the version is not supported by the error prompt. At this point you will modify the version at the ③ location. The blogger just started with a version of 3.0, with an error and then changed to 2.5. It's normal ...

No Web-inf folder and Web. xml file after creating Maven project in "Little Tricks" Eclipse

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.