You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andrew Madu <an...@gmail.com> on 2008/06/08 07:51:13 UTC

Build Error - Error assembling WAR: Deployment descriptor:

Hi,
so my pom.xml reads as follows:

[code]
    <modelVersion>4.0.0</modelVersion>
      <groupId>com.mysite.app</groupId>
      <artifactId>mysite-spring-app</artifactId>
      <version>1.0-SNAPSHOT</version>
      <packaging>war</packaging>
      .....
[/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 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Build Error - Error assembling WAR: Deployment descriptor:

Posted by Wayne Fay <wa...@gmail.com>.
On 6/8/08, Andrew Madu <an...@gmail.com> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org