Hi
Our company Skyhigh Networks have got the trial license for the Aspose Java Pdf library. However the trial license are not working. The following is the exception thrown
Exception in thread "main" java.lang.Exception: The license is not valid for this product.
at com.aspose.pdf.kit.License.a(Unknown Source)
at com.aspose.pdf.kit.License.setLicense(Unknown Source)
at com.shn.pdf.PdfDecryptor.<init>(PdfDecryptor.java:47)
at com.shn.pdf.PdfDecryptor.main(PdfDecryptor.java:244)
The following is the code which throws exception.
License lic = new License();
System.out.println("License file is " + licFile);
lic.setLicense(new FileInputStream(licFile));
I also attached the trial license given to us.