Skip to Content

iText - problems importing library

Please, somebody help me!

Why I can't add the iText (PDF) library within an existing WD Project?

It seems to be fine, until the time I run it and get the error: "java.lang.NoClassDefFoundError: com/lowagie/text/Phrase ".

PS.: My WD is not a DC, and I can't change it.

Thanks !!

Fabio

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 13, 2007 at 05:52 PM

    I've given up of using iText for generating PDF.

    I'm using Interactive Forms instead.

    Thanks!

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 07, 2007 at 08:14 PM

    Fabio, are you familiar with /people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro ?

    Make sure you have a sharing reference to library which contains itext jar`s on !server!.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Maksim,

      I didn't understand very well what you said with "It MUST contain "library:" prefix".

      In the Visual Administrator, my library has the name "itext".

      In my project, I've tried everything:

      Sharing Reference: itext

      Sharing Reference: library:itext

      Library Reference: library:text

      But when I deploy, it gives the message "The referenced application can't be started".

      Only when I put "Library Reference: itext" it deploys ok, but still gives the message "java.lang.NoClassDefFoundError: com/lowagie/text/Phrase", on run-time.

      May I have done something wrong??

      Can I create everything again?

      Thank you!

      Regards