Hi,

I´ve just started using Maven 2, and I´m trying to make a war of my project
using
mvn war:war.

The following error occurs:
Embedded error: Deployment descriptor:
C:\{my-project-directory}\target\AulaNet3StartUp-0.0.1\WEB-INF\web.xml does
not exist.

I´ve searched for it in google and I found in
http://docs.codehaus.org/display/MAVENUSER/FAQs-1 a suggestion to add this
on my pom.xml:

<build>
   ...
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
          <webXml><!-- path-to-your-webxml --></webXml>
        </configuration>
      </plugin>
    </plugins>
</build>



I did that, but the error remains the same. Do you have any idea about how
can I solve this problem?

Thanks,
Tatiana

Reply via email to