Merci d'avoir répondu!
J'utilise Maven 3.0.3.
J'ai essayer d'utiliser la 2.1.1 du plugin war.
le build est passé, avec tout de même 2 warning :
1 2
| Some problems were encountered while building the effective model for fr.cndp:conventions:war:1.0-SNAPSHOT
'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.jgeppert.struts2.jquery:struts2-jquery-plugin:jar -> version 2.5.3 vs 2.2.2 @ line 123, column 21 |
et
Warning: selected war files include a WEB-INF/web.xml which will be ignored
Mais lorsque je lance le projet, celui-ci est supprimé et j'ai l'erreur suivante :
1 2 3 4 5 6
| The module has not been deployed.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:187)
at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:167)
at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:123)
at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:208)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154) |
Partager