2

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.

javadmirer
  • 81
  • 1
  • 1
  • 7

2 Answers2

5

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>
Daniel Rodríguez
  • 548
  • 1
  • 10
  • 30
4

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.

Bruno Lowagie
  • 75,994
  • 9
  • 109
  • 165
  • Thanks @Bruno. I meant itextpdf only. I downloaded the jar itextpdf from Maven central repository. Do you have the itext-pdfa-5.4.0 in maven? – javadmirer Feb 27 '13 at 21:27
  • No, I only published the core iText on Maven. I'm not very familiar with Maven (I always run into trouble when I use it). A long time ago, I hired somebody to write a script that takes care of making a bundle for the core Java, but that script predates the pdfa package. – Bruno Lowagie Feb 28 '13 at 06:50