Thursday 24 May 2018

Eclipse: web.xml is missing and is set to true


I created a new ‘maven-archetype-webapp’ project and deleted web.xml (Since I am not interested in web.xml based configuration.)

Once I deleted ‘web.xml’, I seen error like ‘web.xml is missing and <failOnMissingWebXml> is set to true’.




How to resolve above problem?
I resolved above problem, by adding below statements in pom.xml file.

         <properties>
               <failOnMissingWebXml>false</failOnMissingWebXml>
         </properties>

Previous                                                    Next                                                    Home

No comments:

Post a Comment