danielbohnrs / danfe Goto Github PK
View Code? Open in Web Editor NEWImpressão da NF-e e NFC-e a partir do XML
License: Apache License 2.0
Impressão da NF-e e NFC-e a partir do XML
License: Apache License 2.0
Primeiramente, obrigado @danielbohnrs por sua atenção e disponibilizar a função, agradeço de coração.
Cara, gostaria, se possível, uma ajudar sua para fazer funcionar. estou recebendo um NullPointerException nessa linha abaixo:
Se puder me dá mais essa força, será de grande ajuda.
Obrigado e bom dia.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.