Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi to all, I am new in this community.
I'm tring to get a PDF report with talend. I made a simple job that read a csv file and create a pdf report with the tJasperOutput component but I'm having this error:
Exception in component tJasperOutput_3 (XXXXX)
net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
D:\xxxxx\Documents\Lavoro\TalendWorkspace\xxxxx\poms\jobs\process\xxxxx_0.1\src\main\ext-resources\TEST_FATTURATO_1551361337977_934219.java:4: error: package net.sf.jasperreports.engine does not exist
import net.sf.jasperreports.engine.*;
Can someone help me?
I'm using TOS 7.1 and iReport 5.6.
Thank you in advance.
Hi,
I solved by my selves. I used a different component: tJasperReportExec. In this component there is a litle ambiguity: In the configurazione section of this component I specified the .jasper file in the place where there need the .jrxml file and in the same directory of the .jasper file I placed the .jrxml file and now it is working fine.
Best regards
Giorgio
Hello,
Have you already added all dependent JAR related to jasper report?
Best regard
Sabrina
Hi, thank you Sabrina for the reply.
I think yes, I added in the classpath a directory that contains this jars:
jasperreports-6.7.0.jar
jasperreports-chart-customizers-6.7.0.jar
jasperreports-chart-themes-6.7.0.jar
jasperreports-custom-visualization-6.7.0.jar
jasperreports-fonts-6.7.0.jar
jasperreports-functions-6.7.0.jar
Hi,
I solved by my selves. I used a different component: tJasperReportExec. In this component there is a litle ambiguity: In the configurazione section of this component I specified the .jasper file in the place where there need the .jrxml file and in the same directory of the .jasper file I placed the .jrxml file and now it is working fine.
Best regards
Giorgio