Home > error assembling > error assembling war deployment descriptor web.xml

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: 4.0.0 masters.traffic traffic_web war traffic_web 0.1.0 src org.apache.maven.plugins maven-compiler-plugin 1.6 1.6 ... How to properly fix that issue ? Regards java maven-2 share|improve this question edited Aug 20 '10 at 7:00 Pascal Thivent 398k77815991 asked Jun 28 '10 at 21:15 jwaliszko 9,6941259117 add a comment| 6 Answers 6 active oldest votes up vote 18 down vote accepted I strongly recommend to use Maven's standard layout: put the Java sources in src/main/java (and remove the sourceDirectory element) put the Web application sources in src/main/webapp remove the classes and lib directories under WEB-INF Sure, you can customize the layout but this is IMO more troubles and useless efforts than benefits. Just follow the conventions. share|improve this answer edited Jun 29 '10 at 13:24 answered Jun 28 '10 at 21:34 Pascal Thivent 398k77815991 Thanks! I've spent a lot of time figuring out why JSF wasn't rendering and I had WEB-INF in a different directory, then, fiddling with the IDEA .iml file I got it working by adding a deployment descriptor for the we

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 ( and ). One of the modules is a web application I want to package as a WAR. My structure matches the expected structure http://stackoverflow.com/questions/3136177/maven-error-while-building-war-package-web-xml-missing by the WAR plugin, but the following error occurs when executing the goal 'package': [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error assembling WAR: Deployment descriptor: /source/#buildarea/mywebapp/WEB-INF/web.xml does not exist. The web application source directory is "/source/myproject/src/mywebapp", thus I have placed http://maven.40175.n5.nabble.com/Error-when-building-WAR-td77319.html the source files in: /source/myproject/src/mywebapp/java : servlets /source/myproject/src/mywebapp/webapp/* : web JSP content /source/myproject/src/mywebapp/webapp/WEB-INF/web.xml : web descriptor Any idea of what is going wrong ? BR Olivier -- *Olivier Gies* *Delivery Manager Customs & Tax Software Engineering Center Bull, Architect of an Open World ^TM Phone: +86 (10) 65978001 - Ext 555 * *www.bull.com * *This e-mail contains material that is confidential for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.* --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] Olivier Gies Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Error when building WAR Note: the file '/source/#buildarea/mywebapp/WEB-INF/web.xml' indeed does not ex

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] ------------------------------------------------------------------

 

Related content

eclipse maven error assembling war webxml attribute is required

Eclipse Maven Error Assembling War Webxml Attribute Is Required table id toc tbody tr td div id toctitle Contents div ul li a href Error Assembling War Webxml Attribute Is Required or Pre-existing Web-inf web xml If Executing a li li a href Failed To Execute Goal Org apache maven plugins maven-war-plugin war default-war On Project a li li a href Maven Web xml Location a li li a href Maven-war-plugin Version a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss

error assembling war deployment descriptor web.xml does not exist

Error Assembling War Deployment Descriptor Web xml Does Not Exist table id toc tbody tr td div id toctitle Contents div ul li a href Error Assembling War Webxml Attribute Is Required or Pre-existing Web-inf web xml If Executing a li li a href Error Assembling War Webxml Attribute Is Required Spring Boot a li li a href Maven War Plugin No Web Xml a li li a href Maven Web xml Example a li ul td tr tbody table p here for a quick overview of the relatedl site Help Center Detailed answers to any questions p h id

error assembling war webxml attribute is required grails

Error Assembling War Webxml Attribute Is Required Grails table id toc tbody tr td div id toctitle Contents div ul li a href Error Assembling War Webxml Attribute Is Required or Pre-existing Web-inf web xml I a li li a href Maven Web xml Location a li li a href Maven Web xml Example a li ul td tr tbody table p 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 relatedl this site About Us Learn more about Stack Overflow the company error

error assembling ejb meta-inf/ejb-jar.xml is required

Error Assembling Ejb Meta-inf ejb-jar xml Is Required table id toc tbody tr td div id toctitle Contents div ul li a href Maven Ejb Example a li ul td tr tbody table p 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 relatedl this site About Us Learn more about Stack Overflow the maven-ejb-plugin example company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions p h id Maven Ejb Example p Jobs Documentation Tags Users Badges Ask

error assembling war webxml at&t

Error Assembling War Webxml At t table id toc tbody tr td div id toctitle Contents div ul li a href Error Assembling War Webxml Attribute Is Required or Pre-existing Web-inf web xml If Executing a li li a href Error Assembling War Webxml Attribute Is Required Maven a li li a href Error Assembling War Webxml Attribute Is Required or Pre-existing Web-inf web xml I a li li a href Failed To Execute Goal Org apache maven plugins maven-war-plugin war default-war On Project a li ul td tr tbody table p here for a quick overview of the site

error assembling war deployment descriptor

Error Assembling War Deployment Descriptor table id toc tbody tr td div id toctitle Contents div ul li a href Error Assembling War Webxml Attribute Is Required or Pre-existing Web-inf web xml If Executing a li li a href Error Assembling War Webxml Attribute Is Required Spring Boot a li li a href Maven War Plugin No Web Xml a li li a href Failonmissingwebxml Example a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have relatedl Meta Discuss the workings and policies of

info error assembling war webxml attribute is required

Info Error Assembling War Webxml Attribute Is Required table id toc tbody tr td div id toctitle Contents div ul li a href Failed To Execute Goal Org apache maven plugins maven-war-plugin war default-war On Project a li li a href Failed To Execute Goal Org apache maven plugins maven-war-plugin war default-war On Project a li li a href Maven-war-plugin Version a li li a href Failonmissingwebxml a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta relatedl Discuss the workings and policies

maven error assembling war webxml attribute is required

Maven Error Assembling War Webxml Attribute Is Required table id toc tbody tr td div id toctitle Contents div ul li a href Error Assembling War Webxml Attribute Is Required Spring Boot a li li a href Maven Web xml Location a li li a href Maven-war-plugin Version a li li a href Maven-war-plugin Configuration a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta relatedl Discuss the workings and policies of this site About failed to execute goal org apache maven plugins

maven error assembling war deployment descriptor

Maven Error Assembling War Deployment Descriptor table id toc tbody tr td div id toctitle Contents div ul li a href Selected War Files Include A Web-inf web xml Which Will Be Ignored a li li a href Maven Web xml Location a li ul td tr tbody table p here for a quick overview of the site relatedl 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 grails error assembling war webxml attribute is required

Maven Grails Error Assembling War Webxml Attribute Is Required table id toc tbody tr td div id toctitle Contents div ul li a href Failed To Execute Goal Org apache maven plugins maven-war-plugin war default-war On Project a li li a href Failed To Execute Goal Org apache maven plugins maven-war-plugin war default-war On Project a li li a href Maven Web xml Example a li li a href Maven-war-plugin Version a li ul td tr tbody table p here for a quick overview of the site relatedl Help Center Detailed answers to any questions you p h id Failed

reason error assembling war webxml attribute is required

Reason Error Assembling War Webxml Attribute Is Required table id toc tbody tr td div id toctitle Contents div ul li a href Failed To Execute Goal Org apache maven plugins maven-war-plugin war default-war On Project a li li a href Failed To Execute Goal Org apache maven plugins maven-war-plugin war default-war On Project a li li a href Maven Web xml Example a li li a href failonmissingwebxml false failonmissingwebxml a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers relatedl to any questions you might have Meta Discuss