You compiled with one version and ran with another (probably). PdfName.SIG is a PdfObject of course.
----- Original Message ----- From: "Wahaj Khan" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, September 07, 2005 7:47 AM Subject: [iText-questions] Exception while signing a pdf using early access 1.3.3 > Hi, > > I have tried to use iText 1.3.3 early access release to sign a pdf document > and failed. I got exception at the following line: > > PdfDictionary obj_Dic = new PdfDictionary(); > obj_Dic.put(PdfName.FT, PdfName.SIG); // >> EXCEPTION AT THIS LINE AS > THE 2nd ARGUMENT > > IS NOT OF TYPE PDFOBJECT. > > Exception occurred during event dispatching:java.lang.NoSuchMethodError: > com.lowagie.text.pdf.PdfDictionary.put(Lcom/lowagie/text/pdf/PdfName;Lcom/lo > wagie/text/pdf/PdfObject;)Lcom/lowagie/text/pdf/PdfObject; > > Earlier I was using iText-Paulo-154 and it was working. How can I make that > line work ? > > Regards, > Wahaj > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
