Skip to Content
avatar image
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Oct 05, 2010 at 08:35 PM

    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.

    regerrorjavalangclassnotfoundexception-jxlformatce

    for-exception-javalangnoclassdeffounderror-jxlform

    Hope it will helps

    Regards

    Arun Jaiswal

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 05, 2010 at 06:34 AM

    Hi,

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

    Regards,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 05, 2010 at 07:52 AM

    Hi Madhu,

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

    View this link:

    Web Dynpro - External Jar (JXL) for Downloading Excel files ISSUE

    if you have problems, let me know

    Fernando

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 31, 2013 at 03:27 PM

    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

    Add comment
    10|10000 characters needed characters exceeded