Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projeto não builda #2

Closed
ricmf opened this issue Jun 28, 2019 · 1 comment
Closed

Projeto não builda #2

ricmf opened this issue Jun 28, 2019 · 1 comment

Comments

@ricmf
Copy link

ricmf commented Jun 28, 2019

Olá, clonei o projeto e tentei rodar um mvn install para usar a biblioteca, mas ela falha com erros:

Running com.fincatto.nfe310.NFeConfigTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec <<< FAILURE!
com.fincatto.nfe310.NFeConfigTest.testaParametrosPadrao()  Time elapsed: 0.003 sec  <<< FAILURE!
java.lang.Error: Unresolved compilation problems: 
	The method getSSLProtocolo() is undefined for the type NFeConfigTest.NFeConfigTeste
	NFTipoEmissao cannot be resolved to a variable
	The method getTipoEmissao() is undefined for the type NFeConfigTest.NFeConfigTeste
	The method getCodigoSegurancaContribuinte() is undefined for the type NFeConfigTest.NFeConfigTeste
	The method getCodigoSegurancaContribuinteID() is undefined for the type NFeConfigTest.NFeConfigTeste
	at com.fincatto.nfe310.NFeConfigTest.testaParametrosPadrao(NFeConfigTest.java:18)

Running com.fincatto.nfe310.parsers.NotaParserTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running com.fincatto.nfe310.parsers.NotaFiscalChaveParserTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec

Results :

Failed tests:   com.fincatto.nfe310.NFeConfigTest.testaParametrosPadrao(): Unresolved compilation problems: (..)

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

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:26 min
[INFO] Finished at: 2019-06-28T15:27:46-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project danfe: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/ricardo/danfe/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

Como resolvo isso?

@danielbohnrs
Copy link
Owner

Desculpa a demora em responder. Não costumo acompanhar o projeto aqui.
Este projeto depende do https://github.com/wmixvideo/nfe, então, com ele funcionando no teu projeto, a impressão deve funcionar sem problemas tbm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants