Ir para conteúdo
  • Cadastre-se

dev botao

  • Este tópico foi criado há 1892 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Postado

Bom dia pessoal,

Alguém pode me dar uma força, abri um tópico referente ao acbrlib (Java - Spring) no qual estava tentando executar em windows, mudei para o linux para executar o demo, porém estou com alguns problemas.
Peguei o demo, juntei com o imports, common, libs/jna, acbr (.SO no caso linux), porém apresenta alguns erros ao dar build.

Desde já, muito obrigado.

Att,
Felipe A. Guedes.

Segue abaixo o output do NetBeans:
-------------------------------------------------------------------------------------------
ant -f /home/felipe/outros/java_jdk_12/acbrlib/NFe/Demo/ACBrLibNFe.Demo -Dnb.internal.action.name=rebuild clean jar
init:
deps-clean:
Created dir: /home/felipe/outros/java_jdk_12/acbrlib/NFe/Demo/ACBrLibNFe.Demo/build
Updating property file: /home/felipe/outros/java_jdk_12/acbrlib/NFe/Demo/ACBrLibNFe.Demo/build/built-clean.properties
ACBrLibNFe.init:
ACBrLibNFe.deps-clean:
Created dir: /home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/build
Updating property file: /home/felipe/outros/java_jdk_12/acbrlib/NFe/Demo/ACBrLibNFe.Demo/build/built-clean.properties
Deleting directory /home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/build
ACBrLibNFe.clean:
Deleting directory /home/felipe/outros/java_jdk_12/acbrlib/NFe/Demo/ACBrLibNFe.Demo/build
clean:
init:
deps-jar:
Created dir: /home/felipe/outros/java_jdk_12/acbrlib/NFe/Demo/ACBrLibNFe.Demo/build
Updating property file: /home/felipe/outros/java_jdk_12/acbrlib/NFe/Demo/ACBrLibNFe.Demo/build/built-jar.properties
ACBrLibNFe.init:
ACBrLibNFe.deps-jar:
Created dir: /home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/build
Updating property file: /home/felipe/outros/java_jdk_12/acbrlib/NFe/Demo/ACBrLibNFe.Demo/build/built-jar.properties
Created dir: /home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/build/classes
Created dir: /home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/build/empty
Created dir: /home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/build/generated-sources/ap-source-output
Compiling 1 source file to /home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/build/classes
warning: [options] bootstrap class path not set in conjunction with -source 8
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:3: error: cannot find symbol
import com.acbr.ACBrLibBase;
  symbol:   class ACBrLibBase
  location: package com.acbr
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:4: error: cannot find symbol
import com.acbr.ACBrSessao;
  symbol:   class ACBrSessao
  location: package com.acbr
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:29: error: cannot find symbol
public final class ACBrNFe extends ACBrLibBase implements AutoCloseable {
  symbol: class ACBrLibBase
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:104: error: cannot find symbol
  public String configLerValor( ACBrSessao eSessao, String eChave ) throws Exception {
  symbol:   class ACBrSessao
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:114: error: cannot find symbol
  public void configGravarValor( ACBrSessao eSessao, String eChave, Object value ) throws Exception {
  symbol:   class ACBrSessao
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:40: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_Inicializar( toUTF8( iniFile.getAbsolutePath() ), toUTF8( "" ) );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:40: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_Inicializar( toUTF8( iniFile.getAbsolutePath() ), toUTF8( "" ) );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:41: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:45: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_Inicializar( toUTF8( eArqConfig ), toUTF8( eChaveCrypt ) );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:45: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_Inicializar( toUTF8( eArqConfig ), toUTF8( eChaveCrypt ) );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:46: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:52: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:59: error: cannot find symbol
      checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:62: error: cannot find symbol
      super.finalize();
  symbol:   variable super
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:71: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:73: error: cannot find symbol
    return fromUTF8( buffer, bufferLen.getValue() );
  symbol:   method fromUTF8(ByteBuffer,int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:81: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:83: error: cannot find symbol
    return fromUTF8( buffer, bufferLen.getValue() );
  symbol:   method fromUTF8(ByteBuffer,int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:91: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_ConfigLer( toUTF8( eArqConfig ) );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:92: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:100: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_ConfigGravar( toUTF8( eArqConfig ) );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:101: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:108: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_ConfigLerValor( toUTF8( eSessao.name() ), toUTF8( eChave ), buffer, bufferLen );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:109: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:111: error: cannot find symbol
    return processResult( buffer, bufferLen );
  symbol:   method processResult(ByteBuffer,IntByReference)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:115: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_ConfigGravarValor( toUTF8( eSessao.name() ), toUTF8( eChave ), toUTF8( value.toString() ) );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:115: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_ConfigGravarValor( toUTF8( eSessao.name() ), toUTF8( eChave ), toUTF8( value.toString() ) );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:116: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:120: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_CarregarXML( toUTF8( eArquivoOuXML ) );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:121: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:125: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_CarregarINI( toUTF8( eArquivoOuIni ) );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:126: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:131: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:136: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:141: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:149: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:151: error: cannot find symbol
    return processResult( buffer, bufferLen );
  symbol:   method processResult(ByteBuffer,IntByReference)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:159: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:161: error: cannot find symbol
    return processResult( buffer, bufferLen );
  symbol:   method processResult(ByteBuffer,IntByReference)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:169: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:171: error: cannot find symbol
    return processResult( buffer, bufferLen );
  symbol:   method processResult(ByteBuffer,IntByReference)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:178: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_Consultar( toUTF8( eChaveOuNFe ), buffer, bufferLen );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:179: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:181: error: cannot find symbol
    return processResult( buffer, bufferLen );
  symbol:   method processResult(ByteBuffer,IntByReference)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:188: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_ConsultarRecibo( toUTF8( aRecibo ), buffer, bufferLen );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:189: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:191: error: cannot find symbol
    return processResult( buffer, bufferLen );
  symbol:   method processResult(ByteBuffer,IntByReference)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:200: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_Inutilizar( toUTF8( aCNPJ ), toUTF8( aJustificativa ), ano, modelo, serie,
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:200: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_Inutilizar( toUTF8( aCNPJ ), toUTF8( aJustificativa ), ano, modelo, serie,
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:202: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:204: error: cannot find symbol
    return processResult( buffer, bufferLen );
  symbol:   method processResult(ByteBuffer,IntByReference)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:216: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:218: error: cannot find symbol
    return processResult( buffer, bufferLen );
  symbol:   method processResult(ByteBuffer,IntByReference)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:229: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_Cancelar( toUTF8( aChave ), toUTF8( aJustificativa ), toUTF8( aCNPJ ), aLote, buffer, bufferLen );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:229: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_Cancelar( toUTF8( aChave ), toUTF8( aJustificativa ), toUTF8( aCNPJ ), aLote, buffer, bufferLen );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:229: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_Cancelar( toUTF8( aChave ), toUTF8( aJustificativa ), toUTF8( aCNPJ ), aLote, buffer, bufferLen );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:230: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:232: error: cannot find symbol
    return processResult( buffer, bufferLen );
  symbol:   method processResult(ByteBuffer,IntByReference)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:240: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:242: error: cannot find symbol
    return processResult( buffer, bufferLen );
  symbol:   method processResult(ByteBuffer,IntByReference)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:249: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_DistribuicaoDFePorUltNSU( acUFAutor, toUTF8( aCNPJCPF ), toUTF8( eultNsu ), buffer, bufferLen );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:249: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_DistribuicaoDFePorUltNSU( acUFAutor, toUTF8( aCNPJCPF ), toUTF8( eultNsu ), buffer, bufferLen );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:250: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:252: error: cannot find symbol
    return processResult( buffer, bufferLen );
  symbol:   method processResult(ByteBuffer,IntByReference)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:259: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_DistribuicaoDFePorNSU( acUFAutor, toUTF8( aCNPJCPF ), toUTF8( aNSU ), buffer, bufferLen );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:259: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_DistribuicaoDFePorNSU( acUFAutor, toUTF8( aCNPJCPF ), toUTF8( aNSU ), buffer, bufferLen );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:260: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:262: error: cannot find symbol
    return processResult( buffer, bufferLen );
  symbol:   method processResult(ByteBuffer,IntByReference)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:270: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:272: error: cannot find symbol
    return processResult( buffer, bufferLen );
  symbol:   method processResult(ByteBuffer,IntByReference)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:283: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:295: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:310: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_Imprimir( toUTF8( cImpressora ), nNumCopias, toUTF8( cProtocolo ), toUTF8( mostrarPreview ),
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:310: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_Imprimir( toUTF8( cImpressora ), nNumCopias, toUTF8( cProtocolo ), toUTF8( mostrarPreview ),
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:310: error: cannot find symbol
    int ret = ACBrNFeLib.INSTANCE.NFE_Imprimir( toUTF8( cImpressora ), nNumCopias, toUTF8( cProtocolo ), toUTF8( mostrarPreview ),
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:311: error: cannot find symbol
        toUTF8( marcaDagua ), toUTF8( viaConsumidor ), toUTF8( simplificado ) );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:311: error: cannot find symbol
        toUTF8( marcaDagua ), toUTF8( viaConsumidor ), toUTF8( simplificado ) );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:311: error: cannot find symbol
        toUTF8( marcaDagua ), toUTF8( viaConsumidor ), toUTF8( simplificado ) );
  symbol:   method toUTF8(String)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:312: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:317: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:322: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:327: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:332: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:337: error: cannot find symbol
    checkResult( ret );
  symbol:   method checkResult(int)
  location: class ACBrNFe
/home/felipe/outros/java_jdk_12/acbrlib/NFe/Imports/ACBrLibNFe/src/com/acbr/nfe/ACBrNFe.java:340: error: method does not override or implement a method from a supertype
  @Override
85 errors
1 warning
BUILD FAILED (total time: 1 second)
-------------------------------------------------------------------------------------------

Postado

Pelo visto no log de build faltou incluir o projeto ACBr Common, por isso os vários erros de classes não encontradas, o mesmo se encontra na pasta raiz dos demos em java.
Obs.: Por favor quando postar log favor anexar ao posto facilita a leitura do problema.

  • Curtir 1

 

  • Este tópico foi criado há 1892 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Crie uma conta ou entre para comentar

Você precisar ser um membro para fazer um comentário

Criar uma conta

Crie uma nova conta em nossa comunidade. É fácil!

Crie uma nova conta

Entrar

Já tem uma conta? Faça o login.

Entrar Agora
×
×
  • Criar Novo...

Informação Importante

Colocamos cookies em seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies, caso contrário, assumiremos que você está bem para continuar.

The popup will be closed in 10 segundos...