Skip to Content
author's profile photo Former Member
Former Member

HSSFWorkbook Error

I have a webdynpro application that retrieves and displays information in a table and allows the data to be downloaded to excel. The application works fine in our development/test environment but since deploying to the production environment I get the following error message when I try to download to excel.

java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFWorkbook

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 28, 2008 at 07:39 PM

    Your server (production) does not have the three JAR's that you are using to read EXCEL files.

    Are you using the below JARS ?

    poi-3.0.2-FINAL-20080204

    poi-contrib-3.0.2-FINAL-20080204

    poi-scratchpad-3.0.2-FINAL-20080204

    If yes then you need to either send them with your DC (add external Jars) or put them on the server and refer them at runtime.

    "java.lang.NoClassDefFoundError" this error comes when the application is not able to refer the JAR''s at runtime.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.