Bonjour,
Quand je fait un Build avec maven j'ai ce message d'erreur :
je n'est pas bien compris ce que sa veux dire (ce qui fait que je ne trouve pas de solution)
Code : Sélectionner tout - Visualiser dans une fenêtre à part Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project WSAuthentication: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [Help 1]
voici mon pom.xml
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44 <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>WSAuthentication</groupId> <artifactId>WSAuthentication</artifactId> <packaging>war</packaging> <version>0.0.1-SNAPSHOT</version> <name>WSAuthentication</name> <build> <sourceDirectory>src</sourceDirectory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring</artifactId> <version>2.5.6</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-core</artifactId> <version>2.2.10</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-bundle</artifactId> <version>2.2.10</version> </dependency> </dependencies> </project>![]()
Partager