Question
NoClassDefFoundError: org.apache.poi.hssf.usermodel.HSSFWorkbook Error in log file
We need to import data from MSExcel into a pagelist in Pega 7.1.7 using Apache POI. We have imported poi-3.14.jar in our Websphere server and restarted. The class path has also been verified and there is no compilation error writing the java code for it.
At runtime, while running the code, we are facing the below error in the log file. Please find below the error and help me to resolve this issue.
Caused by:
java.lang.NoClassDefFoundError: org.apache.poi.hssf.usermodel.HSSFWorkbook
Caused by:
java.lang.ClassNotFoundException: org.apache.poi.hssf.usermodel.HSSFWorkbook
Could you paste the code here.
I also got similar error but I used full path name and it got resolved.