Bonjour à tous !

j'ai un projet eclipse généré avec maven. Le projet est bien avancé et jusqu'à présent je faisais des mvn install pour générer mon war que je copiais ensuite sur mon serveur.

Sauf qu'aujourd'hui je me suis rendue compte qu'il y avait des classes qui étaient dans le war alors qu'elles n'avaient plus rien à y faire vu qu'elles n'existent plus dans mon projet. Je me suis dit que c'était des .class qui restaient des anciennes version de l'appli.

J'ai donc fais un mvn clean pour faire un peu de ménage.
Sauf que depuis, plus rien de marche : mvn compile est dans les choux et par voie de conséquence, toutes les autres commandes qui font appel à compile aussi...
voici les traces d'erreurs de la console :
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
MacBook-Statlife:~/Documents/statlife/periode2/Maven/prototypeE4N$ mvn compile
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for fr.statlife:prototypeE4N:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 218, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Prototype E4N 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ prototypeE4N ---
[WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO] Copying 14 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ prototypeE4N ---
[WARNING] File encoding has not been set, using platform encoding MacRoman, i.e. build is platform dependent!
[INFO] Compiling 52 source files to /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/QuestionDaoImpl.java:[7,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/QuestionDaoImpl.java:[12,1] cannot find symbol
symbol: class Repository
@Repository
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceInscriptionImpl.java:[7,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceInscriptionImpl.java:[20,1] cannot find symbol
symbol: class Service
@Service
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceLienBaseE4NImpl.java:[8,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceLienBaseE4NImpl.java:[15,1] cannot find symbol
symbol: class Service
@Service
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/LienBaseE4NDaoImpl.java:[7,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/LienBaseE4NDaoImpl.java:[19,1] cannot find symbol
symbol: class Repository
@Repository
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/MembreDaoImpl.java:[7,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/MembreDaoImpl.java:[19,1] cannot find symbol
symbol: class Repository
@Repository
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/ListeQuestionnaireDaoImpl.java:[7,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/ListeQuestionnaireDaoImpl.java:[19,1] cannot find symbol
symbol: class Repository
@Repository
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceIdentificationImpl.java:[5,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceIdentificationImpl.java:[12,1] cannot find symbol
symbol: class Service
@Service
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/QuestionnaireDaoImpl.java:[7,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/QuestionnaireDaoImpl.java:[19,1] cannot find symbol
symbol: class Repository
@Repository
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceListeQuestionnaireImpl.java:[8,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceListeQuestionnaireImpl.java:[15,1] cannot find symbol
symbol: class Service
@Service
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/pages/erreur/ErrorPage404.java:[3,25] package javax.servlet.http does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/pages/erreur/ErrorPageEspacePrive.java:[3,25] package javax.servlet.http does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceQuestionnaireImpl.java:[8,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceQuestionnaireImpl.java:[18,1] cannot find symbol
symbol: class Service
@Service
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceMembreImpl.java:[8,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceMembreImpl.java:[15,1] cannot find symbol
symbol: class Service
@Service
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/ReponseDaoImpl.java:[7,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/ReponseDaoImpl.java:[12,1] cannot find symbol
symbol: class Repository
@Repository
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/pages/erreur/ErrorPage404.java:[18,75] cannot find symbol
symbol  : variable HttpServletResponse
location: class fr.statlife.protoE4N.pages.erreur.ErrorPage404
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/pages/erreur/ErrorPageEspacePrive.java:[18,75] cannot find symbol
symbol  : variable HttpServletResponse
location: class fr.statlife.protoE4N.pages.erreur.ErrorPageEspacePrive
[INFO] 28 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.106s
[INFO] Finished at: Mon Jul 18 10:27:55 CEST 2011
[INFO] Final Memory: 11M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project prototypeE4N: Compilation failure: Compilation failure:
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/QuestionDaoImpl.java:[7,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/QuestionDaoImpl.java:[12,1] cannot find symbol
[ERROR] symbol: class Repository
[ERROR] @Repository
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceInscriptionImpl.java:[7,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceInscriptionImpl.java:[20,1] cannot find symbol
[ERROR] symbol: class Service
[ERROR] @Service
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceLienBaseE4NImpl.java:[8,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceLienBaseE4NImpl.java:[15,1] cannot find symbol
[ERROR] symbol: class Service
[ERROR] @Service
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/LienBaseE4NDaoImpl.java:[7,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/LienBaseE4NDaoImpl.java:[19,1] cannot find symbol
[ERROR] symbol: class Repository
[ERROR] @Repository
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/MembreDaoImpl.java:[7,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/MembreDaoImpl.java:[19,1] cannot find symbol
[ERROR] symbol: class Repository
[ERROR] @Repository
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/ListeQuestionnaireDaoImpl.java:[7,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/ListeQuestionnaireDaoImpl.java:[19,1] cannot find symbol
[ERROR] symbol: class Repository
[ERROR] @Repository
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceIdentificationImpl.java:[5,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceIdentificationImpl.java:[12,1] cannot find symbol
[ERROR] symbol: class Service
[ERROR] @Service
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/QuestionnaireDaoImpl.java:[7,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/QuestionnaireDaoImpl.java:[19,1] cannot find symbol
[ERROR] symbol: class Repository
[ERROR] @Repository
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceListeQuestionnaireImpl.java:[8,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceListeQuestionnaireImpl.java:[15,1] cannot find symbol
[ERROR] symbol: class Service
[ERROR] @Service
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/pages/erreur/ErrorPage404.java:[3,25] package javax.servlet.http does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/pages/erreur/ErrorPageEspacePrive.java:[3,25] package javax.servlet.http does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceQuestionnaireImpl.java:[8,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceQuestionnaireImpl.java:[18,1] cannot find symbol
[ERROR] symbol: class Service
[ERROR] @Service
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceMembreImpl.java:[8,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/metier/ServiceMembreImpl.java:[15,1] cannot find symbol
[ERROR] symbol: class Service
[ERROR] @Service
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/ReponseDaoImpl.java:[7,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/data/dao/jpa/ReponseDaoImpl.java:[12,1] cannot find symbol
[ERROR] symbol: class Repository
[ERROR] @Repository
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/pages/erreur/ErrorPage404.java:[18,75] cannot find symbol
[ERROR] symbol  : variable HttpServletResponse
[ERROR] location: class fr.statlife.protoE4N.pages.erreur.ErrorPage404
[ERROR] /Users/mathildepellerin/Documents/statlife/periode2/Maven/prototypeE4N/src/main/java/fr/statlife/protoE4N/pages/erreur/ErrorPageEspacePrive.java:[18,75] cannot find symbol
[ERROR] symbol  : variable HttpServletResponse
[ERROR] location: class fr.statlife.protoE4N.pages.erreur.ErrorPageEspacePrive
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
D'après les traces, c'est le package spring qui est dans les choux. La dernière ligne qui est un lien vers le wiki maven le confirme en disant que ce genre d'exception apparait quand un plugin merde.
Bon, sauf qu'avant le mvn clean, y'avait aucun souci. Donc j'imagine que le clean à supprimer quelque chose qu'il devait pas, mais quoi?

Est ce que quelqu'un a déjà eu ce genre d'erreur et saurait me dire comment corriger le tir?
Car là, après quelques essais infructueux, mon projet eclipse marche plus non plus !
Merci d'avance pour vos conseils.