Error in creating a maven project

1

As soon as I create a Maven project with the "war" packaging, it gives the following error:

 Description Resource Path Location Type web.xml is missing and <failOnMissingWebXml> is set to true pom.xml

I'm using the Spring IDE Ide

Below is my pom.xml

 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <groupId>primefaces</groupId>
   <artifactId>primefaces</artifactId>
   <version>0.0.1-SNAPSHOT</version>
   <packaging>war</packaging>
   <name>test prime</name>
   <description>testar primefaces responsive layout</description>
 </project>
    
asked by anonymous 01.10.2015 / 03:56

1 answer

1

No error says that web.xml is missing. Create the folder WEB-INF within webapp and then create the file web.xml .

    
01.10.2015 / 13:22