Skip to Content
avatar image
Former Member

Using External Library in Web Dynpro - Error

Hello,

I want to use an external library in a web dynpro. I use WAS 6.40 SP12.

1. I have created an dc web dynpro app

2. I have created an dc external library app

3. I have importet the jar to the external library

4. I have published the jar as public part

5. I have imported the public part to web dynpro

If I build the project I get no error. If I deploy an run the project then I get an error stacktrace:

java.lang.NoClassDefFoundError: com/sap/netweaver/bc/rf/util/uuid/UUID

NoClassDefFoundError - I think the jar-file was not deployed. What is wrong?

Greetings

Thomas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 16, 2005 at 07:45 AM

    Thomas,

    Everything sounds ok. Except, probably, library reference as someone point on this thread.

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

    Valery Silaev

    EPAM Systems

    http://www.NetWeaverTeam.com/

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Does this blog still exist somewhere? I think it could help me but the link doesn't seem to work. Even the title of the Blog would probably help...

  • avatar image
    Former Member
    Sep 16, 2005 at 02:33 AM

    Hi THomas,

    Please explain how you are adding the jars into the publicpart of the Libary DC.

    You need to create 2 public parts .

    1. Assembly

    2. Compilation

    You need to add your jar to above two public parts.

    Then you need to add above two publicparts to your webdynpro application.

    Regards, Anilkumar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 16, 2005 at 04:08 AM

    Go to project properties >library >Add external jar-->

    Add the necessory jar files.

    Also make sure taht you check the jar files in "Order and export" tab

    Hope it will help

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 16, 2005 at 04:45 AM

    Hi Thomas,

    You need to give reference to your library project in your web dynpro application in project properties.

    Go to properties of Project and there choose "Webdynpro reference". Here, choose library reference and there give your library reference in form of:

    sap.com/ project name>

    Regards,

    Bhavik

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 14, 2006 at 09:37 PM

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

    Add comment
    10|10000 characters needed characters exceeded