Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ClassNotFoundException using jxl

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.

Former Member
replied

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.

REG:ERROR:java.lang.ClassNotFoundException: jxl.format.CellFormat --NWDI

For exception... java.lang.NoClassDefFoundError: jxl/format/CellFormat

Hope it will helps

Regards

Arun Jaiswal

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question