Skip to Content
avatar image
Former Member

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

Hi,

I have a Web Dynpro DC in which I need to use an external jar (jxl.jar).

I have currently added the jar file to the Java Build Path and get no errors during design time.

I have followed the blog for adding external jar to Web Dynpro projects --> /people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components

But I face the following issues

1) When I build the DC, the jar file is not recognized and throws build errors.

2) When I run the DC(Deployed the Application -> Deploy new archive and run) - I get the ClassNotFoundException.

Is there any issue with the jar file uploaded or are there any more settings to be done for accessing an external jar file ?

Regards,

Brian.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 01, 2010 at 06:21 AM
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thanks Walter.

      Got the solution just in the nick of time.

      Full points awarded..

      Is there any standard documentation for this purpose.

      Regards,

      Brian.

  • avatar image
    Former Member
    Jun 30, 2010 at 02:06 PM

    Hi,

    Can you check that the ".jar" files are available in lib folder of that DC.

    Right click on the Dc from WD explorer->get the path/workspace and find the lib folder.

    If .jarr files are not found in that copy the same files and paste in that folder.

    Go to navigator->add the lib folder files to DTR by rightclick on that folder+add to DTR.

    Regards,

    Lavanya.G

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 30, 2010 at 02:51 PM

    Hi Brian

    Please have a look at below document for External Library DC.

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

    /people/bala.krishnan2/blog/2006/09/25/bid-adieu-to-bots--using-captchas

    storedeploy-a-jar-file-on-a-server

    then sync sources and sync used DC from main DC wher you are using External Library DC.

    Hope it will helps

    Regards

    Arun

    Add comment
    10|10000 characters needed characters exceeded