iTextPDF Library - Can't find the class “com.i

2019-02-28 00:38发布

Can't find the class "com.itextpdf.text.pdf.PdfAWriter" in latest version of itextpad v5.4.0. I have even tried downloading the extra jars but to no avail.

Any help will be appreciated.

2条回答
We Are One
2楼-- · 2019-02-28 01:34

As said by Bruno, PDF/A Libraries are in a different jar file: itext-pdfa.

Here the Maven dependency:

<!-- https://mvnrepository.com/artifact/com.itextpdf/itext-pdfa -->
<dependency>
    <groupId>com.itextpdf</groupId>
    <artifactId>itext-pdfa</artifactId>
    <version>5.5.13</version>
</dependency>
查看更多
唯我独甜
3楼-- · 2019-02-28 01:41

I'm the original developer of iText; I made the 5.4.0 release, but I've never heard of itextpad. If you download the release from SourceForge, you'll find PdfAWriter in the extra jar named itext-pdfa-5.4.0.jar.

查看更多
登录 后发表回答