Problem converting PDF to PDF/A because of license


We have a time limited license for valid until 2019-07-03.
If I try to convert a PDF file to PDFA, the resulting PDF file is in evaluation mode.
Is there something wrong with the way we initialize the license in our Code?
If I try the same with Word files everything is fine.

Code used for PDF to PDF/A is in, Code used for Word to PDF/A is in
Attached here as
I can’t see the difference.

Word source and resulting PDF/A in
PDF source and resulting PDF/A in

If I try to validate the license in RenderPDF.licenseOk() with
licenseValid = com.aspose.pdf.Document.isLicensed();
licenseValid is false.

Second edit: If I read the license from a file licenseValid stays false. (88.9 KB) (30.0 KB) (1.4 KB)



Thank you for contacting support.

Would you please also share your license as a ZIP file by clicking on my username and then message icon so that we may investigate further to help you out. Before sharing it, please also ensure using Aspose.PDF for Java 19.5.


Thanks for the help. With the new version of Aspose.PDF the license is ok.
Perhaps you should create a new version of Aspose.Total for downloading.
Because there I got the old Aspose.PDF a few days ago.



Thank you for your kind feedback.

We are glad to know that your problem has been resolved. We we will be updating the total package with latest available versions.