Why Does My License Occasionally Fail?

Do I need to use it explicitly every time I call the API?

License license = new License();
license.setLicense("Aspose.Slides.Java.lic");

In my project, occasionally there is a bug that the watermark appears even after setting the License,Why is it like that?

@ximoon,
Thank you for contacting support. We apologize for the delay.

Usually, you should call the License.setLicense method only once in your app before using Aspose.Slides features. If it does not help, please describe how we can reproduce the issue on our end to investigate the case, or share a simple project that reproduces the problem with watermark.

Documents: Licensing