I recently pulled some old code out of storage which previously ran under iText 
1.4.  I modified my code to recognize the new package structure "itextpdf" 
rather than "lowagie" but when I attempt to execute even the simplest "Hello 
World" code, I constantly get the "No message found for 
l.not.found.as.resource" exception.

I have verified the AFM files reside in my iText.jar file and that I am adding 
something after I open my document.  Here is my simplified code:

Document doc = new Document();
PdfWriter.getInstance(document, new FileOutputStream("test.pdf"));
doc.open();
doc.add(new Paragraph("Hello"));
doc.close();

Is there something else I am missing in the upgrade from iText 1.4 to 5.0?  Any 
assistance would be appreciated.

Thanks.
Edwin
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to