@mukesh958,
We have checked your license. It has expired long time ago. If you please open it with Notepad (do not edit any content), you will notice the following tag:
<SubscriptionExpiry>20110831</SubscriptionExpiry>
Also, we observe the following exception when using the latest version of Aspose.Words for Java i.e. 19.5:
java.lang.IllegalStateException: The subscription included in this license allows free upgrades until 31 Aug 2011, but this version of the product was released on 01 May 2019. Please renew the subscription or use a previous version of the product.
Also, the following code works fine on our end:
import com.aspose.words.*;
public class Program {
public static void main(String[] args) throws Exception {
License lic = new License();
lic.setLicense("E:\\temp\\Aspose.Total.Java.lic");
Document doc = new Document("E:\\temp\\in.docx");
Table tab = doc.getFirstSection().getBody().getTables().get(0);
Row row = tab.getFirstRow();
row.getParentTable().setAllowAutoFit(false);
}
}