cancel
Showing results for 
Search instead for 
Did you mean: 

ClassNotFoundException using jxl

Former Member
0 Kudos

Hi All,

I am developing an application to download table data to excel. I am using web dynpro Java 7.0 to develop the application.

I am using Jxl API's for the development. When i deploy the application i am getting the following ClassNotFoundException exception:

java.lang.ClassNotFoundException: jxl.format.CellFormat Found in negative cache .

I have added the Jxl jar file in lib folder of the DC. There are no errors while building the application, but when I do a Development component- -> Build , the added Jxl jar file gets deleted.

I also tried to develop an external library DC and used this as a reference in the actual DC, but the error persists.

Please let me know how to solve this problem.

Regards,

Madhu.

Accepted Solutions (1)

Accepted Solutions (1)

p330068
Active Contributor
0 Kudos

Hi Madhu

Please check below threads same issue has discussed. you need to create the external library DC and delpoy first before deploying main dc for excel functinality.

Hope it will helps

Regards

Arun Jaiswal

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

I am facing the same issue in Web Dynpro Java DC for Netweaver 7.3

I have added the external library DC's compilation public part to WD and enterprise application DC's assembly pp to WD but still in the runtime i get an error java.lang.ClassNotFoundException: jxl.format.CellFormat

The jxl jar is already added to the external library DC.

Please help/suggest.

Best Regards

Gaurang Dayal

Former Member
0 Kudos

Hi Madhu,

To use externals jar with DCs, you need create 3 DCs: Webdynpro, Java(library), J2EE(to deploy the library).

View this link:

if you have problems, let me know

Fernando

Edited by: Fernando Acevedo on Oct 5, 2010 9:52 AM

Former Member
0 Kudos

Hi,

Just try removing your application from Visual Admin and deploy again. Else re-start your J2EE engine server.

Regards,

Manoj