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 in Others by Rahul
• 8,980 points
52 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 by Aditya
• 7,280 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,080 points
371 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
361 views
+1 vote
1 answer
–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
1,676 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 in Others by Aditya
• 7,280 points
357 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP