raphy Posted October 19, 2006 Share Posted October 19, 2006 Hello,I am trying to export a report to a Excel file. But I have received a message error as follows:Code:java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFCellStyleon line :Code:[code]JRXlsExporter exporter = new JRXlsExporter() ;Please tell me if anybody have an idea to resolve this problem.Best regardsRaphy Link to comment Share on other sites More sharing options...
vajahatalee Posted January 10, 2008 Share Posted January 10, 2008 Hello! This problem is due to missing of POI library.This problem can be solved by downloading the Apache POI labrary from http://poi.apache.org/.Download the Zip folder Extract the folder and add JAR files in the Project Library. The Problem is solved and xls files are generated successfully.Regards, Vajahat Ali ,Software Engineer,Lahore, Pakistan :) Link to comment Share on other sites More sharing options...
ripka Posted August 12, 2009 Share Posted August 12, 2009 Hi there! I'm having the same problem Raphy mentioned. I do have poi 2.5.1 included in my project but still getting a runtime exception on the: 'new JRXlsExporter()' line. Is there anybody who might have an idea how to solve this issue? Best regards! Federico Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now