Skip to main content
Skip table of contents

Installing iText pdfXFA for Java developers

Thank you for your interest in our dynamic PDF add-on - pdfXFA , we hope you will enjoy using our product and share your experiences with us and the iText community. We will walk you through the installation process, from downloading iText pdfXFA to adding the dependency to your Java build tool.

If you require any extra help please have a look at our FAQs or the community discussion at StackOverflow. If you are interested in getting support from our in-house developers and/or a license key for commercial iText products, you will need to acquire a commercial license.

Before you install

  • Make sure you have purchased a commercial license of iText Core and pdfXFA - if for commercial purposes. All downloads we offer closed-source come with our commercial license model.

  • Check the compatibility matrix to ensure the version you specify when adding the add-on's dependency matches the version of iText Core you have a license for.

  • Download and install the proper license key library, you can find the installation guide here.

  • Download the modules (.jar) of iText Core and pdfXFA (ZIP files) from the iText Artifactory Server  https://repo.itextsupport.com/releases

  • Install iText Core, you can find the installation guide here.

  • Important remark: in our installation guides we use Maven as a build tool for Java.

Installation

iText pdfXFA is available on the iText Artifactory server. Here you can also find the license key library and iText Core - you require an additional license key.

You can add this server as an additional Maven repository in the repositories section of your pom.xml or settings.xml, as described in the Maven documentation. Maven will then automatically query this repository for the add-on .jar files.

You can also browse the iText Artifactory server and download jars manually.

1. Add repository to .pom project file

XML
<!-- All add-ons and iText Core-->
<repositories>
  <repository>
    <id>itext</id>
    <name>iText Repository - releases</name>
    <url>https://repo.itextsupport.com/releases</url>
  </repository>
</repositories>

2. Add the pdfXFA dependency to .pom project file

CODE
<properties>
       <itext.pdfxfa.version>4.0.4</itext.pdfxfa.version>
</properties>

<dependencies>
  <dependency>
    <groupId>com.itextpdf</groupId>
    <artifactId>pdfxfa</artifactId>
    <version>${itext.pdfxfa.version}</version>
  </dependency>
</dependencies>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.