Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
ngoctuan04th2
Contributor II
Contributor II

Help Tjava using POI 5.2.3 export Excel in Talend 6.3

Dear all,

I using Talen 6.3 , I want to using POI version 5.2.3 to export excel in Tjava component.

  1. i download POI jar
  2. i using TloadLibrary to add these jar to project

0695b00000qkONeAAM.png3- then in Tjava_3 component i write command : XSSFWorkbook workbook = new XSSFWorkbook();

Unfortunately, i meet error bellow :

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager

at org.apache.poi.ss.usermodel.DataFormatter.<clinit>(DataFormatter.java:228)

at org.apache.poi.ss.formula.functions.TextFunction.<clinit>(TextFunction.java:33)

at org.apache.poi.ss.formula.atp.AnalysisToolPak.createFunctionsMap(AnalysisToolPak.java:84)

Please help me to resolve it.

Thank you!

3 Replies
Anonymous
Not applicable

The error indicates the job is missing a jar containing class org/apache/logging/log4j/LogManager.

 

 

ngoctuan04th2
Contributor II
Contributor II
Author

Dear,

Can you help me how to resolve it, add file jar. because i'm beginer talend, so not clearly about it.

Thank you

Anonymous
Not applicable

You are using an old Talend version 6.3, maybe the version of log4j jar files is not compatible with your Java version.