fixes bug#22333

dev:lucas

qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@107044 d1611594-4594-4d17-8e1d-87c2c4800839
master
lucas.taia 2021-06-04 18:04:09 +00:00
parent 98b6f77d2d
commit 411d3130de
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ public class RelatorioPdfAndExcel {
}
public File generateReport(boolean isPdf) throws JRException, IOException {
System.setProperty("jasper.reports.compile.class.path", System.getProperty("java.io.tmpdir"));
JasperDesign jasperDesign = createDesign();
JasperReport jasperReport = JasperCompileManager
.compileReport(jasperDesign);