cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

Hi All,

I am getting following class path error java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFWorkbook.I have created DC Project of type WebDynProject. Added following three Jar files under lib folder of the project.

I added same Jar files like Project Right ClickPropertiesJavaBuildPathAdd Jar files selected three Jar files

Still I am getting the problem

1. poi-2.5.1-final-20040804.jar

2. poi-contrib-2.5.1-final-20040804.jar

3. poi-scratchpad-2.5.1-final-20040804.jar

J2EE server is not in my PC at re

Please let me know what is wrong.

Thanks & Regards

Adams

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey Adam,

You can refer to the following Valery's blog for this:

/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro

Additional to the steps mentioned by Mausam u have to add the public parts of

the External Library DC to your Web Dypro DC Used DC's.

Hope it helps.

Regards,

Alka.

Former Member
0 Kudos

Hi Adam,

Generally, the way to refer some JAR file from DC would be to give a project reference.

But first you will have to deploy the JAR files on the server:

1. Create "External Library DC"

2. Put your JAR files into "Libraries" folder.

3. Expose them as Public Part.

4. Create "J2EE Library DC"

5. Refer "External Library DC" into J2EE Library DC.

6. Deploy "J2EE Library DC"

7. Refer this one in your Web Dynpro DC by giving Library Reference.

Hope this helps.

Regards,

Mausam

Former Member
0 Kudos

Thanks for your reply.

I will try with your answer and let you the same.