请稍候.. java itext pdf reader 中的消息

Please wait.. message in java itext pdf reader

我正在使用 java itext pdf reader 从 pdf 中读取数据,但是当我 运行 程序时出现以下错误

Please wait... 

If this message is not eventually replaced by the proper contents of the document, your PDF 
viewer may not be able to display this type of document. 

You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by 
visiting  http://www.adobe.com/go/reader_download. 

    For more assistance with Adobe Reader visit  http://www.adobe.com/go/acrreader. 

Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark 
of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other 
countries.

Pdf 包含表格和表格。我正在使用 ubutnu 和 adobe reader 已更新。

这是带有 XFA 格式的 pdf 的通常唯一的常规内容。因此,这不是错误,而是通过文本提取来提取的所有内容。

您可以尝试通过itext的表单相关API提取表单数据。 iText AcroForm API 对 XFA 数据的支持有限,也有提取 XFA 的方法 xml.