raphy Posted September 12, 2006 Posted September 12, 2006 Hello,I have a problem when I try to export to the excel file format (XLS).The error message as follows:Exception occurred during event dispatching:java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFCellStyle Error on line: JRXlsExporter exporter = new JRXlsExporter() ; I have already imported this package in my project. All other formats (.pdf, .rtf etc.) working correctly. Thanks for your helpRaphy
dsachdev Posted September 13, 2006 Posted September 13, 2006 I had a similiar problem when my report name was too long (something like 32 characters). Not sure if this helps, but something worth checking. When I dug a little deeper it was an error that poi was throwing.
sazoo Posted November 28, 2006 Posted November 28, 2006 download the POI jar file from the jakarta site, put it in your classpath and your good to go. and you have to import this, org.apache.poi.hssf.usermodel.* Post edited by: sazoo, at: 2006/11/28 02:12
madinsane Posted December 12, 2006 Posted December 12, 2006 I have the same problem; and it's really interesting. The poi import didn't work. Could someone can help, and suggest some solution... Best/regards...
honeyani Posted September 12, 2008 Posted September 12, 2008 Set classpath to POI jar file and provide proper import statement.Sure it will work..
honeyani Posted September 12, 2008 Posted September 12, 2008 honeyaniWrote: Set classpath to POI jar file and provide proper import statement.Sure it will work.. I saw this post rght now aftr 2 yrs..hope u guys must have fixed it 2 yrs back itself!
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