License expired issue

Even though I have a valid license for Aspose PDF for java, I am getting:


java.lang.IllegalStateException: The license has expired.
at com.aspose.pdf.z46.m1(Unknown Source)
at com.aspose.pdf.License.setLicense(Unknown Source)

I am currently using this version of the dependency
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-pdf</artifactId>
<version>10.4.1</version>
</dependency>

Hi Robert,


Thanks for contacting support.

Please share the license file by following instructions specified over How to send a license?. We are sorry for this inconvenience.

Hi Nayyer,

sorry for the false alarm, for some reason I was pulling in a dependency which was created while we were evaluating the software so the error message was correct, that trial license has inded expired.

Anyhow, thanks for your time!
Robert

Hi Robert,


Thanks for your feedback. It is good to know that you have managed to identify issue cause and resolved it.

Please keep using our APIs and feel free to contact us for any further query or concern, we will be more than happy to extend our support.

Best Regards,