Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

package net.sf.jasperreports.engine does not exist

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.

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

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
Giorgio0683p000009M2vm.png

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hello,

Have you already added all dependent JAR related to jasper report?

Best regard

Sabrina

 

Anonymous
Not applicable
Author

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

Anonymous
Not applicable
Author

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
Giorgio0683p000009M2vm.png