Giter VIP home page Giter VIP logo

danfe's People

Contributors

danielbohnrs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

danfe's Issues

Dúvidas para gerar danfe

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:

image

Se puder me dá mais essa força, será de grande ajuda.
Obrigado e bom dia.

Projeto não builda

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.