无法读取马拉文本的PDF文件中的Java程序

问题描述:

我得到这个例外在线程“AWT-EventQueue的 - 0”无法读取马拉文本的PDF文件中的Java程序

java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable at com.lowagie.text.pdf.PdfEncryption.(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.(Unknown Source) at com.lowagie.text.pdf.PdfReader.(Unknown Source

+1

不要只是分享错误堆栈,还要分享您在发生此错误时尝试的代码。 – Apurv 2013-04-23 05:04:56

+0

告诉我们你正在尝试的代码? – Anirudha 2013-04-23 05:07:04

它看起来像你跟随Getting started with iText Guide。我敢说,你会发现answer to this question非常有用。

+1

我认为这可能是一个评论! – Apurv 2013-04-23 05:10:47