cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Running a Webdynpro Application Which uses itext.jar

Former Member
0 Kudos

Hi,

I have created a Webdynpro DC which uses a DC called xxx_lib which contains the external JAR Files. (itext.jar etc)

This JAR file is in my library path as well.

I have added the lib_dc as used DC under the webdynpro DC.

The Compilation and build went fine without any error. But when in run the Application Under ---> Content Administration --> Webdynpro , I am getting the following Error.

The initial exception that caused the request to fail, was:

<b>java.lang.NoClassDefFoundError: com/lowagie/text/Element

Failed to create delegate .....

(Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)</b>

Please let me know if somebody knows the solution.

Thanks and Regards,

Sekar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Make sure that Jar is avail at the runtime or not?

The shows to be the jar File is not connecting at run time.

Find that Itext.jar is avil at run time or not?

Thanks,

Lohi.

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi

Here is step by step guide for using external library. Hope it will help you.

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

Best regards

Former Member
0 Kudos

Hi All,

Thanks for all the tips and links on using the external libraries in Webdynpro DCs.

The Problem is resolved by adding the reference to the .ear file in Project References of the DC in using

Netweaver Developer Studio.

Thanks and Regards,

Sekar

Former Member
0 Kudos

Thanks all of you.

Let me try all the above options and will update you.

Regards,

Sekar

Former Member
0 Kudos

Hi

You can explore the option of making an external library DC and then insert jar file in it and make External library and add this dc as used DC in ur DC.. Then it should be fine.

Also, if you add the jar file in lib folder while tranporting into Consolidation and Production systems it creates a problem.

Thanks

Srikant

former_member193726
Active Participant
0 Kudos

Hi Sekar,

Please look into the link below.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7b8180e5-0601-0010-0c94-9bccb92d...

Goto section 2.2.3.1 Defining Libraries Page No. 75

It gives you the entire process of creating the library DC and referencing the same in your WebDynpro project.

Hope this helps.

Regards,

Rekha Malavathu

Former Member
0 Kudos

Go to Navigator perspective in NWDS and expand your project node. Under that you will find lib folder.

You can copy jar file from your system and directly paste it there.

former_member185029
Active Contributor
0 Kudos

Hi,

I recently answered this.

check

Ashutosh