webxml attribute is required error on maven build of war

webxml attribute is required error on maven build of war

This error appears mostly when Maven could not find the web.xml file. If you are following the default maven structure, make sure the webapp folder is named correctly – like not webapps or something like that.
Once you make sure, you can try by explicitly telling maven where the web.xml file is using

 
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0</version>
<configuration>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
</configuration>
</plugin>

See how you would solve these known algorithm problems

Find the pairs that makes K Complementary in the given array java solution

Finding missing numbers from billion sequential number list file

Changing decimal number to its binary equivalent

Find K Complementary numbers from array Java implementation

Array reversal in Recurrsion

testing k complementary pairs algorithm with junit

binary tree problems with solution

String Ordered Permutation Algorithm Problem

Java solution for checking anagram strings – tell if phrases are anagrams

Find longest palindrom from sequence of characters

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*