Olá pessoal,estou tenho problemas com um projeto antigo que voltei a desenvolver depois de mais de um ano, tive que dar uma parada pois estava estudando pro vestibular.
O problema é o seguinte:
O projeto é sobre Java web, um sistema que eu estava desenvolvendo pra uma drogaria, tinha salvo ele, mas ao continuar esta apresentando esses erros.
Este é o meu pom.xml
4.0.0 br.pro.james.drogaria Drogaria 1.0 war<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<build>
<!-- Nome do projeto empacotado -->
<finalName>Drogaria</finalName>
<!-- Plugins -->
<plugins>
<!-- Compilador -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
E esse é o erro:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:04 min
[INFO] Finished at: 2019-10-17T00:18:26-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project Drogaria: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\PlayHard\Desktop\Droagaria\target\surefire-reports for the individual test results.
[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
E o problema que além disso ele não esta achando o meu projeto, exemplo:
| Description | Resource | Path | Location | Type |
|---|---|---|---|---|
| Project ‘Droagaria’ is missing required library: ‘C:\Users\james.m2\repository\org\glassfish\javax.faces\2.2.12\javax.faces-2.2.12.jar’ | Droagaria | Build path | Build Path Problem |
e
| Description | Resource | Path | Location | Type |
|---|---|---|---|---|
| The project cannot be built until build path errors are resolved | Droagaria | Unknown | Java Problem |
Se souberem identificar o problema serei grato!





