cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NoClassDefFoundError: jxl/Workbook

Sharathmg
Active Contributor
0 Kudos

Hello All,

Inspite of many blogs and forum posts, which I have read and used I am still staring at this error: java.lang.NoClassDefFoundError: jxl/Workbook.

As you would know, I am trying to use an extenral jar(jxl) to build and excel.

I am working in NW AS server 7.02.

Strangely, I have a external lib DC and using the j2ee lib deploy dc.

Declared used DC for comp. Public part of lib DC and used DC for deploy DC.

Provided reference - library.

Still its not working.

Strangely, the line of code :  WorkbookSettings.HIDEOBJ_HIDE_ALL is working but no other classes in jxl work.

Screenshots below:

Assistance required.

Regards,

Sharath

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182652
Participant
0 Kudos

Hi Sharath,

Please do couple of quick checks:

1. While adding external library DC as used component in J2EE library DC, did you choose both build time and runtime dependencies? If yes, build the DC and verify that the generated SDA file contains the jar. Check that the jar file exists in gen/default/deploy folder.

2. If check 1 is successful, deploy the J2EE library DC before deploying the Webdynpro DC to check if it was deployed without any warning.

Regards,

Kunal

Sharathmg
Active Contributor
0 Kudos

Thank you Kunal for the reply.

I had resolved the issue last week.

I will post a wiki with the problems, I faced and will post it across.

Regards,

Sharath

former_member182652
Participant
0 Kudos

That sounds great

Sharathmg
Active Contributor
0 Kudos

As assured, the blog is posted in the forum:

Link:

Regards,

Sharath