Login Registre-se
Jasper Studio net.sf.jasperreports.engine.JRException  XML
Índice dos Fóruns » Impressoras Fiscais
Autor Mensagem
alissoncm

JavaC Membro

Membro desde: 26/01/2016 08:50:21
Mensagens: 1
Offline

Bom dia pessoa.
Estou utilizando o Jasper Studio para fazer o desenho da DACTe e junto com o eclipse, em Java, estou tentando realizar a impressão do documento alimentado já com os dados.
Ao tentar imprimir eu tenho esse erro abaixo e já tentei mudar o eclipse para UTF-8 e tudo mais e nao tive sucesso.

Gostaria que alguem pudesse me ajudar.

Obrigado.


GERANDO PDF...
Exception in thread "main" net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:475: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_modal.getValue()).equals( "01" )) ? "RODOVI�?RIO" : //$JR_EXPR_ID=16$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:477: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_modal.getValue()).equals( "03" )) ? "AQUAVI�?RIO" : //$JR_EXPR_ID=16$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:478: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_modal.getValue()).equals( "04" )) ? "FERROVI�?RIO" : //$JR_EXPR_ID=16$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:479: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_modal.getValue()).equals( "05" )) ? "DUTOVI�?RIO" : //$JR_EXPR_ID=16$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:514: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_tomadorServico.getValue()).equals( "3" )) ? "DESTINAT�?RIO" : ""; //$JR_EXPR_ID=21$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:574: error: unmappable character for encoding Cp1252
value = "PA�?S : " + ((java.lang.String)field_recPais.getValue()); //$JR_EXPR_ID=32$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:659: error: unmappable character for encoding Cp1252
value = "PA�?S : " + ((java.lang.String)field_destPais.getValue()); //$JR_EXPR_ID=49$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:704: error: unmappable character for encoding Cp1252
value = "PA�?S : " + ((java.lang.String)field_remPais.getValue()); //$JR_EXPR_ID=58$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:739: error: unmappable character for encoding Cp1252
value = "PA�?S : " + ((java.lang.String)field_expPais.getValue()); //$JR_EXPR_ID=65$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:808: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_responsavelSeguradora.getValue()).equals( "3" )) ? "DESTINAT�?RIO" : //$JR_EXPR_ID=78$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1177: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_modal.getOldValue()).equals( "01" )) ? "RODOVI�?RIO" : //$JR_EXPR_ID=16$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1179: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_modal.getOldValue()).equals( "03" )) ? "AQUAVI�?RIO" : //$JR_EXPR_ID=16$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1180: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_modal.getOldValue()).equals( "04" )) ? "FERROVI�?RIO" : //$JR_EXPR_ID=16$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1181: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_modal.getOldValue()).equals( "05" )) ? "DUTOVI�?RIO" : //$JR_EXPR_ID=16$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1216: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_tomadorServico.getOldValue()).equals( "3" )) ? "DESTINAT�?RIO" : ""; //$JR_EXPR_ID=21$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1276: error: unmappable character for encoding Cp1252
value = "PA�?S : " + ((java.lang.String)field_recPais.getOldValue()); //$JR_EXPR_ID=32$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1361: error: unmappable character for encoding Cp1252
value = "PA�?S : " + ((java.lang.String)field_destPais.getOldValue()); //$JR_EXPR_ID=49$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1406: error: unmappable character for encoding Cp1252
value = "PA�?S : " + ((java.lang.String)field_remPais.getOldValue()); //$JR_EXPR_ID=58$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1441: error: unmappable character for encoding Cp1252
value = "PA�?S : " + ((java.lang.String)field_expPais.getOldValue()); //$JR_EXPR_ID=65$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1510: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_responsavelSeguradora.getOldValue()).equals( "3" )) ? "DESTINAT�?RIO" : //$JR_EXPR_ID=78$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1879: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_modal.getValue()).equals( "01" )) ? "RODOVI�?RIO" : //$JR_EXPR_ID=16$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1881: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_modal.getValue()).equals( "03" )) ? "AQUAVI�?RIO" : //$JR_EXPR_ID=16$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1882: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_modal.getValue()).equals( "04" )) ? "FERROVI�?RIO" : //$JR_EXPR_ID=16$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1883: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_modal.getValue()).equals( "05" )) ? "DUTOVI�?RIO" : //$JR_EXPR_ID=16$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1918: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_tomadorServico.getValue()).equals( "3" )) ? "DESTINAT�?RIO" : ""; //$JR_EXPR_ID=21$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:1978: error: unmappable character for encoding Cp1252
value = "PA�?S : " + ((java.lang.String)field_recPais.getValue()); //$JR_EXPR_ID=32$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:2063: error: unmappable character for encoding Cp1252
value = "PA�?S : " + ((java.lang.String)field_destPais.getValue()); //$JR_EXPR_ID=49$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:2108: error: unmappable character for encoding Cp1252
value = "PA�?S : " + ((java.lang.String)field_remPais.getValue()); //$JR_EXPR_ID=58$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:2143: error: unmappable character for encoding Cp1252
value = "PA�?S : " + ((java.lang.String)field_expPais.getValue()); //$JR_EXPR_ID=65$
^
D:\Eclipse_Workspaces\Flash_DACTe\FlashCTe\AR_AR1_1453804848626_707246.java:2212: error: unmappable character for encoding Cp1252
new Boolean(((java.lang.String)field_responsavelSeguradora.getValue()).equals( "3" )) ? "DESTINAT�?RIO" : //$JR_EXPR_ID=78$
^
30 errors

at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:204)
at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:354)
at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:287)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:572)
at br.com.flash.cte.testes.ImprimirDacte.imprimirDacte(ImprimirDacte.java:69)
at br.com.flash.cte.testes.ImprimirDacte.main(ImprimirDacte.java:5
 
Índice dos Fóruns » Impressoras Fiscais
Ir para:   
Powered by JForum 2.1.9 © JForum Team