iText is a SERVER SIDE library for creating PDF's... you are trying to
use it on the client side.

On Oct 13, 2:25 pm, prof3ta <[EMAIL PROTECTED]> wrote:
> Hello everyone,
> I'm developing a web application using the gwt and I need to import
> some external libraries in the project.
> In the specific, I'm trying to import the iText libraries for
> dynamically generating pdf from java.
> I added the libraries as an external jar file in eclipse, but I obtain
> the following error when compiling my application:
>
> [EMAIL PROTECTED]>./App-compile
>
> Removing units with errors
>    [ERROR] Errors in 'file:/home/prof3ta/.eclipse/App/src/com/google/
> gwt/sample/app/client/PDFGenerator.java'
>       [ERROR] Line 20: No source code is available for type
> com.lowagie.text.Document; did you forget to inherit a required
> module?
>       [ERROR] Line 20: No source code is available for type
> com.lowagie.text.PageSize; did you forget to inherit a required
> module?
>       [ERROR] Line 22: No source code is available for type
> com.lowagie.text.pdf.PdfWriter; did you forget to inherit a required
> module?
>
> I have the same problem with all kind of external libraries.
> I tried adding the src code for the libraries, editing the App.gwt.xml
> file, etc. No luck.
> Could you please explain me in a clear way how should I add external
> libraries in a gwt eclipse project?
>
> Regards,
> Roberto
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to