hi,

I encountered the following error in reading the pdf:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/bouncycastle/asn1/ASN1OctetString
        at com.lowagie.text.pdf.PdfEncryption.<init>(Unknown Source)
        at com.lowagie.text.pdf.PdfReader.readDecryptedDocObj(Unknown Source)
        at com.lowagie.text.pdf.PdfReader.readDocObj(Unknown Source)
        at com.lowagie.text.pdf.PdfReader.readPdf(Unknown Source)
        at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
        at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
        at 
halo.sandbox.itext.examples.ListFieldsInfo.main(ListFieldsInfo.java:16)

This is happening in PdfReader reader = new PdfReader(ListFields.FILE_NAME);

I tried the lower version of IText (older than version 2.0.0) and it works.
This error does not occur in itext-paulo-155.jar. Is there any solution by
using version 2.0.0 and above?


-- 
View this message in context: 
http://www.nabble.com/java.lang.NoClassDefFoundError%3A-org-bouncycastle-asn1-ASN1OctetString-tf3729371.html#a10438635
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to