Hi Franscesca,

I guess that you're using a path parameter somewhere in your code. Most 
likely when reading an existing PDF with PdfReader. If you are not, 
could you post your entry point, your code or the entire stack trace?

If you do use PdfReader(String): Due to the way that Google App Engine 
handles its filesystem, you can't use the constructor of PdfReader that 
uses the path. You'll have to read the bytes of the file first and then 
pass the byte array to the Reader.

This problem was brought up a week or two ago and we're looking into a 
way to keep the functionality in iTextG while it still works on GAE 
without creating a separate build for GAE.

This is not going to be finished for the next release. This difference 
between Android and GAE in the iTextG port will be documented on the 
next release.


Kind regards,
Michaƫl.


Op 12/09/2013 11:09, Francesca Stagnaro schreef:
> Hi,
> I have downloaded the last version of itext for gae (5.4.3).
> When I deploy my web-app with itext on my local server the creation of
> pdf files works properly, but when I deploy on Google Cloud I have this
> error:
>
>
> java.lang.NoClassDefFoundError: java.nio.MappedByteBuffer is a restricted 
> class. Please see the Google App Engine developer's guide for more details.
>
> I read that there is a patch for the older versions of itext, can I use
> the same patch for 5.4.3 version?
> Thanks,
> Francesca
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a 
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples: 
> http://itextpdf.com/themes/keywords.php
>


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to