We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Cannot find license 'Aspose.Words.lic'

Today I got temporary license for aspose.java.word.

When I am trying to set license by FileInputStream, it works.

But I want to get lic file from my lib folder that contains the aspose.jdk.
I placed it there but when I try to set license by this way, it throws exception:
Cannot find license ‘Aspose.Words.lic’.

License license = new License();

Can you help me?
Hi Ali Rıza,

Thanks for your inquiry.

'Cannot find license 'Aspose.Words.lic'' exception shows that the SetLicense method does not find the license file. Please use File.Exists method to check either the license file exists or not at specified location. Please make sure that the file name used in SetLicense method is correct.

Please read following documentation link for your kind reference. Hope this helps you.
Exception cannot find license filename