Maven soucis avec le .pom

Fermé
laurent2403 Messages postés 79 Date d'inscription jeudi 11 novembre 2010 Statut Membre Dernière intervention 23 février 2020 - 13 juil. 2014 à 10:40
KX Messages postés 16754 Date d'inscription samedi 31 mai 2008 Statut Modérateur Dernière intervention 25 novembre 2024 - 13 juil. 2014 à 10:47
bonjour tout le monde j'ai toujours un soucis avec mon .pom , systématiquement quand je créé un projet , j'ai un message d'erreure :

Multiple annotations found at this line:
- Execution default-testResources of goal org.apache.maven.plugins:maven-resources-plugin:2.5:testResources failed: A required class was missing while executing org.apache.maven.plugins:maven-resources-plugin:
2.5:testResources: org/codehaus/plexus/util/StringUtils ----------------------------------------------------- realm = plugin>org.apache.maven.plugins:maven-resources-plugin:2.5 strategy =
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/Users/ANONYMUS/.m2/repository/org/apache/maven/plugins/maven-resources-plugin/2.5/maven-resources-plugin-2.5.jar urls[1] = file:/C:/Users/
ANONYMUS/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar urls[2] = file:/C:/Users/ANONYMUS/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-
api-1.0-alpha-7.jar urls[3] = file:/C:/Users/ANONYMUS/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar urls[4] = file:/C:/Users/ANONYMUS/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/
plexus-interactivity-api-1.0-alpha-4.jar urls[5] = file:/C:/Users/ANONYMUS/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar urls[6] = file:/C:/Users/ANONYMUS/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
urls[7] = file:/C:/Users/ANONYMUS/.m2/repository/org/apache/maven/shared/maven-filtering/1.0/maven-filtering-1.0.jar urls[8] = file:/C:/Users/ANONYMUS/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.13/plexus-
interpolation-1.13.jar Number of foreign imports: 4 import: Entry[import org.sonatype.plexus.build.incremental from realm ClassRealm[plexus.core, parent: null]] import: Entry[import org.codehaus.plexus.util.Scanner from realm
ClassRealm[plexus.core, parent: null]] import: Entry[import org.codehaus.plexus.util.AbstractScanner from realm ClassRealm[plexus.core, parent: null]] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
----------------------------------------------------- (org.apache.maven.plugins:maven-resources-plugin:2.5:testResources:default-testResources:process-test-resources)
- Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.5:resources failed: A required class was missing while executing org.apache.maven.plugins:maven-resources-plugin:2.5:resources: org/
codehaus/plexus/util/StringUtils ----------------------------------------------------- realm = plugin>org.apache.maven.plugins:maven-resources-plugin:2.5 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] =
file:/C:/Users/ANONYMUS/.m2/repository/org/apache/maven/plugins/maven-resources-plugin/2.5/maven-resources-plugin-2.5.jar urls[1] = file:/C:/Users/ANONYMUS/.m2/repository/org/apache/maven/reporting/maven-reporting-
api/2.0.6/maven-reporting-api-2.0.6.jar urls[2] = file:/C:/Users/ANONYMUS/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar urls[3] = file:/C:/Users/ANONYMUS/.m2/repository/
commons-cli/commons-cli/1.0/commons-cli-1.0.jar urls[4] = file:/C:/Users/ANONYMUS/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[5] = file:/C:/Users/
ANONYMUS/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar urls[6] = file:/C:/Users/ANONYMUS/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar urls[7] = file:/C:/Users/ANONYMUS/.m2/repository/org/
apache/maven/shared/maven-filtering/1.0/maven-filtering-1.0.jar urls[8] = file:/C:/Users/ANONYMUS/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.13/plexus-interpolation-1.13.jar Number of foreign imports: 4 import:
Entry[import org.sonatype.plexus.build.incremental from realm ClassRealm[plexus.core, parent: null]] import: Entry[import org.codehaus.plexus.util.Scanner from realm ClassRealm[plexus.core, parent: null]] import: Entry[import
org.codehaus.plexus.util.AbstractScanner from realm ClassRealm[plexus.core, parent: null]] import: Entry[import from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------
(org.apache.maven.plugins:maven-resources-plugin:2.5:resources:default-resources:process-resources)


si quelqu'un pouvait m'aider c serais sympa merci beaucoup.

1 réponse

KX Messages postés 16754 Date d'inscription samedi 31 mai 2008 Statut Modérateur Dernière intervention 25 novembre 2024 3 020
13 juil. 2014 à 10:47
Bonjour,

Il serait bien d'avoir une idée de ton projet, ce que contient ton pom, ou les goals que tu lancent au moment d'avoir cette erreur. Mais vu la log que tu donnes il te manque des dépendances (c'est écrit en toute lettres).

A required class was missing ... org/codehaus/plexus/util/StringUtils
0