I am getting the following error,while executing this statement 

 

java.io.IOException: Rebuild failed: trailer not found.; Original
message: null

 

 

pdfReader = new PdfReader(templateDirName+pdfTemplate);

where templateDirName="where my templates are
there(ex:/export/enterprise-docs/templates")".

                pdfTemplate="templatefileName(Ex:BLRCHF.pdf)"

I have templates in that directory.

 

I am using java 1.4.2

And itext version= itext-2.0.4.jar.

 

Do I need any additional jar files.

 

Thanks

Anil.M



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to