I am using aspose.cells 2.5.4 and have a license for Aspose.Total for java I tried to add the license as follows
License license = new License();
File asposeLicense = getResource(asposeLicenseFile);
FileInputStream inputStream = null;
inputStream = new FileInputStream(asposeLicense.getAbsolutePath());
I get the following error message when trying to create an excel file "
com.aspose.cells.AsposeLicenseException: The license is not valid for this product.
The excel file was generated with a "evaluation " water mark before I tried to add the license.
Upgrading to aspose.cells 7.0.0 is not a feasible option for us as it is breaking a lot of code already developed using aspose.cells 2.5.4
Plese let me know of a possible solution