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

Free Support Forum - aspose.com

Web application runing in tomcat how to licence file


I applied for aspose.word license and i got.When i used to application its giving like this error.when application is running in tomcat.Please tell me how to set license in tomcat.

I got error like this

Exception Aspose.Words.lic–>java.lang.IllegalStateException: Cannot find license ‘Aspose.Words.lic’.

Thanks svn

Hi Shilpa,

Thanks for your inquiry. The license can be loaded from a stream or file in the following locations:

  • Explicit path.
  • The folder that contains the Aspose.Words.jar.
  • The folder that contains the assembly that called Aspose.Words.jar

Please make sure the license file is accessible. You may try reading the license file to stream and apply the license from stream or set the license from explicit path. Please read following documentation links for your kind reference.

Hope this helps you. Please let us know if you have any more queries.