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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
gadje1
Creator
Creator

Export in XLS file with picture from tJasper component

Hello,

i 'm unable to export data in XLS format from tJasper component if i include a picture in my jrxml pattern.

I have an issues message who sais :

Caused by: java.lang.NoClassDefFoundError: org/apache/commons/codec/digest/DigestUtils
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.addPicture(HSSFWorkbook.java:1610)
	at net.sf.jasperreports.engine.export.JRXlsExporter.exportImage(JRXlsExporter.java:1667)
	... 8 more
Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.digest.DigestUtils
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 10 more

i set the Jasperreport propertie "net.sf.jasperreports.export.xls.ignore.graphics" on "false"

i added "commons-codec-1.7.jar" that contain "DigestUtils" but nothing better.

Is there somebody who knows what is the solution to my problem ?

Thanks.

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi,

 

   Did you add import command to get the class in the advance section of tLibraryLoad component?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved

View solution in original post

2 Replies
Anonymous
Not applicable

Hi,

 

   Did you add import command to get the class in the advance section of tLibraryLoad component?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved

gadje1
Creator
Creator
Author

Sorry i did found the solution with tLibraryLoad component.

Thanks