Error Assembling War Deployment Descriptor Web.xml
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or 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 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Maven error while building WAR package (web.xml missing..?) up vote 9 down vote favorite 2 While executing mvn install, I'm getting following error: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) My web application structure tree is like that: my-app |-- pom.xml |-- src |-- ... |-- WebContent |-- ... |-- META-INF |-- WEB-INF |-- classes |-- ... |-- lib |-- **web.xml** My POM file looks like that:
this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Error when building WAR Hi, I am setting up Maven for building a multi-module project. I have customized the directory locations for build output (
Unanswered Topics Wrox Programmer Forums > Java > Java Open Source > Spring Error http://p2p.wrox.com/spring/66879-error-assembling-war-deployment-descriptor.html assembling WAR: Deployment descriptor User Name Remember Me? Password Reminder Password Register Register | FAQ | Members List | Calendar | Today's Posts | Search Search Forums Show Threads Show Posts Advanced Search Find All Thanked Posts Go to Page... Welcome to the p2p.wrox.com Forums. You are currently error assembling viewing the Spring section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming error assembling war questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free . Thread Tools Display Modes #1 (permalink) March 25th, 2008, 10:16 AM hendragd Registered User Join Date: Mar 2008 Location: , , . Posts: 1 Thanks: 0 Thanked 0 Times in 0 Posts Error assembling WAR: Deployment descriptor Dear all, I have problem regarding with create 'WAR' file. From this book (beginning spring 2 framework) at chapter 4 page 108, i follow the instruction and go to wrox-pix-web directory and type command 'mvn package', but i've get this error : [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[pixweb] in [C:\Wrox\wrox-pix-web\target\pixweb-0.0.1] [INFO] Processing war project [INFO] Webapp assembled in[540 msecs] [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error assembling WAR: Deployment descriptor: C:\Wrox\wrox-pix-web\target\pixweb-0.0.1\WEB-INF\web.xml does not exist. [INFO] ------------------------------------------------------------------