web xml is missing and failOnMissingWebXml is set to true

0 votes

Consider:

Enter image description here

When I create a simple Maven project in Eclipse I am getting this ERROR:

web.xml is missing and <failOnMissingWebXml> is set to true


How can I fix this problem?

Feb 18, 2022 in Others by Rahul
• 9,680 points
1,147 views

1 answer to this question.

0 votes

You can also use the following method:

  1. Right click on Deployment Descriptor in Project Explorer.

  2. Select Generate Deployment Descriptor Stub.


It will generate a WEB-INF folder in src/main/webapp and a web.xml in it.

enter image description here

answered Feb 18, 2022 by Aditya
• 7,680 points

Related Questions In Others

+1 vote
1 answer

What is the difference between Dark Web and Deep Web?

The content that which you cannot find ...READ MORE

answered Feb 6, 2019 in Others by Priyaj
• 58,020 points
1,188 views
+1 vote
2 answers

What is the different between xml and json?

These are the differences:   It is JavaScript Object ...READ MORE

answered Feb 7, 2019 in Others by Junaid
1,556 views
+1 vote
1 answer

Between cyber security and CCNA profession which one is best in terms of time to become an expert and salary payment

CCNA professional is more inclined towards the ...READ MORE

answered Dec 18, 2019 in Others by Pri
2,046 views
–1 vote
0 answers
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,041 views
+2 votes
1 answer
0 votes
1 answer

Convert char to int in C and C++

In order to read the value as ...READ MORE

answered Feb 17, 2022 in Others by Aditya
• 7,680 points
3,700 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP