Erro com maven

0 respostas
R

Boa tarde a todos estou começando um projeto com maven + Spring + hibernate

E esta dando o seguinte problema:

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.teste.discos:discos:jar:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-test:jar -> version 2.5 vs 3.2.4.RELEASE @ line 149, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.poi:poi:jar -> version 3.7 vs 3.9 @ line 169, column 15
[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 com.teste.discos 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ discos ---
[debug] execute contextualize
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ discos ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ discos ---
[debug] execute contextualize
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ discos ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ discos ---
[INFO] Surefire report directory: C:\Users\Rafael\workspace\discos\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ discos ---
[INFO] Building jar: C:\Users\Rafael\workspace\discos\target\discos-0.0.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ discos ---
[INFO] Installing C:\Users\Rafael\workspace\discos\target\discos-0.0.1-SNAPSHOT.jar to C:\Users\Rafael\.m2\repository\com\teste\discos\discos\0.0.1-SNAPSHOT\discos-0.0.1-SNAPSHOT.jar
[INFO] Installing C:\Users\Rafael\workspace\discos\pom.xml to C:\Users\Rafael\.m2\repository\com\teste\discos\discos\0.0.1-SNAPSHOT\discos-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.845s
[INFO] Finished at: Sat Oct 12 21:25:35 BRT 2013
[INFO] Final Memory: 7M/103M
[INFO] ------------------------------------------------------------------------

E quando vou tentar a rodar esta dando o seguinte erro:

The archive: C:/Users/Rafael/.m2/repository/org/apache/httpcomponents/httpclient/4.2.1/httpclient-4.2.1.jar which is referenced by the classpath, does not exist.

Alguém tiver uma ideia por favor me ajude.

Agradeço desde de já.

Rafael

Criado 13 de outubro de 2013
Respostas 0
Participantes 1