Maven Error Assembling War Deployment Descriptor
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you error assembling war webxml attribute is required (or pre-existing web-inf/web.xml if executing might have Meta Discuss the workings and policies of this site failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of error assembling war webxml attribute is required spring boot 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “webxml attribute is required” error in Maven up vote 208 down vote favorite 39 I am getting the following error: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) I
Selected War Files Include A Web-inf/web.xml Which Will Be Ignored
have got web.xml in right place which is projectname\src\main\webapp\WEB-INF\web.xml What could be causing this? maven war share|improve this question edited Jun 19 '14 at 20:09 ArtB 7,1931563104 asked Mar 18 '11 at 12:25 user617966 1,68041524 1 is your packaging set to war in the pom? –crowne Mar 18 '11 at 17:15 add a comment| 14 Answers 14 active oldest votes up vote 257 down vote It would be helpful if you can provide a code snippet of your maven-war-plugin. Looks like the web.xml is at right place, still you can try and give the location explicitly
messages Andrew Madu Reply | Threaded Open this post in threaded
Maven Web.xml Location
view ♦ ♦ | Report Content as maven web.xml example Inappropriate ♦ ♦ Build Error - Error assembling WAR: Deployment descriptor: Hi, so my maven-war-plugin version pom.xml reads as follows: [code]