Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Spring
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Spring section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 25th, 2008, 10:16 AM
Registered User
 
Join Date: Mar 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hendragd
Default 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.executeGoalAndHandleFailures(DefaultLifecycleExe cutor.java:311)
        at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeTaskSegments(DefaultLifecycleExecutor.jav a:278)
        at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMav en.java:333)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven .java:126)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:2 82)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(L auncher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher. java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.ja va:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: 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.plugin.war.WarMojo.execute(WarMoj o.java:146)
        at org.apache.maven.plugin.DefaultPluginManager.execu teMojo(DefaultPluginManager.java:447)
        at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(DefaultLifecycleExecutor.java:539)
        ... 16 more
Caused by: org.codehaus.plexus.archiver.ArchiverException: Deployment descriptor: C:\Wrox\wrox-pix-web\target\pixweb-0.0.1\WEB-INF\web.xml does not exist.
        at org.codehaus.plexus.archiver.war.WarArchiver.setWe bxml(WarArchiver.java:82)
        at org.apache.maven.plugin.war.WarMojo.performPackagi ng(WarMojo.java:176)
        at org.apache.maven.plugin.war.WarMojo.execute(WarMoj o.java:130)

Anyone can help me with this problem ??
Thanks

Hendra Gunawan
hendragd@yahoo.com






Similar Threads
Thread Thread Starter Forum Replies Last Post
deployment descriptor for weblogic g_basak EJB 3 June 25th, 2008 05:46 AM
error after deploying .war arobinson98 Apache Tomcat 0 April 7th, 2008 04:06 PM
Detecting media descriptor wlangel CSS Cascading Style Sheets 0 August 22nd, 2006 03:05 PM
deploy the WAR files error richscape BOOK: Beginning JavaServer Pages 1 June 3rd, 2006 02:58 AM
Assembling Variables' names in the code? Pericles PHP How-To 1 September 22nd, 2005 09:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.