Home > error assembling > error assembling war deployment descriptor web.xml does not exist

Error Assembling War Deployment Descriptor Web.xml Does Not Exist

Contents

here for a quick overview of the site Help Center Detailed answers to any questions

Error Assembling War Webxml Attribute Is Required (or Pre-existing Web-inf/web.xml If Executing

you might have Meta Discuss the workings and policies of failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project this site About Us Learn more about Stack Overflow the company Business Learn more about hiring failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project 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

Error Assembling War Webxml Attribute Is Required Spring Boot

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

Maven War Plugin No Web Xml

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 an

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 failonmissingwebxml example pom.xml reads as follows: [code] 4.0.0 com.mysite.app mysite-spring-app 1.0-SNAPSHOT http://stackoverflow.com/questions/3136177/maven-error-while-building-war-package-web-xml-missing war ..... [/code] I simply changed the packaging type to 'war' just to see what output would be generated, and am receiving this error: [code] Error assembling WAR: Deployment descriptor: C:Documents and Settings\mysite\mysite-spring-app\target\mysite-spring-app-1.0-SNAPSHOT\WEB-INF\web.xml does not exist [/code] What is the issue http://maven.40175.n5.nabble.com/Build-Error-Error-assembling-WAR-Deployment-descriptor-td107510.html here? My platform is as follows: WIN XP SP1 JDK 1.6.0_06 Maven 2.0.9 Many thanks in advance. -- Regards Andrew --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] Wayne Fay Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Build Error - Error assembling WAR: Deployment descriptor: On 6/8/08, Andrew Madu <[hidden email]> wrote: > Error assembling WAR: Deployment descriptor: C:Documents and > Settings\mysite\mysite-spring-app\target\mysite-spring-app-1.0-SNAPSHOT\WEB-INF\web.xml > does not exist It appears that you do not have web.xml file in your src/main/webapp/WEB-INF folder. Add one, and try again. Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] « Return to Maven - Users | 1 view|%1 views Loading... Free forum by Nabble Edit this page

Unanswered Topics Wrox Programmer Forums > Java > Java Open Source > Spring Error assembling WAR: Deployment descriptor http://p2p.wrox.com/spring/66879-error-assembling-war-deployment-descriptor.html User Name Remember Me? Password Reminder Password Register Register | FAQ | Members List | Calendar | Today's Posts | Search Search Forums Show Threads Show http://grokbase.com/t/maven/users/055gag400x/m2-exception-assembling-war Posts Advanced Search Find All Thanked Posts Go to Page... Welcome to the p2p.wrox.com Forums. You are currently viewing the Spring section of the Wrox Programmer to error assembling 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 questions, respond to other developers’ questions, and eliminate the ads that are displayed error assembling war 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] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionExcep tion: Error assembling WAR: Deployment descriptor: C:\Wrox\wrox-pix-web\target\pixweb-0.0.1\WEB-INF\web.xml does not exist. at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoalWithLifecycle(DefaultLifecycleExecuto r.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoal

with war packaging.The directory structure i use is the "normal" one withsrc - webapp- WEB-INFWhen i run m2 install from the parente module i get the following exception:[ERROR] Cause:org.apache.maven.plugin.MojoExecutionException: Error assembling WARat org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:217)atorg.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)atorg.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoals(DefaultLifecycleExecutor.java:169)atorg.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:90)atorg.apache.maven.DefaultMaven.processProject(DefaultMaven.java:253)at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)at org.apache.maven.cli.MavenCli.main(MavenCli.java:246)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke(Method.java:585)atorg.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)atorg.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)at org.codehaus.classworlds.Launcher.main(Launcher.java:363)Caused by: org.codehaus.plexus.archiver.ArchiverException: Deploymentdescriptor:C:\java\projectos\Digitalis\SIGES-Admin\target\siges-admin-1.0-SNAPSHOT\WEB-INF\web.xml does not exist.atorg.codehaus.plexus.archiver.war.WarArchiver.setWebxml(WarArchiver.java:70)atorg.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:248)at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:212)... 14 moreAny help out there ?CheersHugo---------------------------------------------------------------------To unsubscribe, e-mail: users-unsubscribe@maven.apache.orgFor additional commands, e-mail: users-help@maven.apache.org reply Tweet Search Discussions Search All Groups users 5 responses Oldest Nested Brett Porter In that case, you'll need to add configuration for warSourceDirectory: http://maven.apache.org/maven2/plugins/maven-war-plugin/war-mojo.html - Brett --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubs

 

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 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 deployment descriptor web.xml

Error Assembling War Deployment Descriptor Web xml p here for a quick overview of the site Help Center Detailed answers to any questions you might relatedl 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 million programmers just like you helping each other Join them it only takes a minute Sign up Maven error while building

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