Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot get trial license to load for itext 7

Tags:

itext7

I am trying to explore the pdfsweep functionality of itext 7. I have obtained a 30 day trial license. When I call LicenseKey.loadLicenseFile(path-to-key-file), it returns without any errors, but when I attempt to instantiate a PdfCleanUpTool, I get the following error:

LicenseKeyException License file not loaded.  com.itextpdf.licensekey.LicenseKey.checkLicense (LicenseKey.java:410)

Thanks.

like image 397
Caleb Phillips Avatar asked Jul 06 '16 21:07

Caleb Phillips


1 Answers

The key you received was a license key for iText 7 Core and not for the add-ons. This was due to a bug on our end. I've fixed this and if you request a new key, you should be able to use your license key.

like image 194
Michaël Demey Avatar answered Oct 08 '22 21:10

Michaël Demey