Hi,
it’s my first time using an Aspose product.
Yestarday I’ve bought a licence of ASPOSE.WORD for Java. It’s a Developer Enterprise Subscription.
To install, I’ve copied it in the same jar directory removing the xml extension (Aspose.Words.lic).
I added these 2 lines of code in my java controller just before creating Document object:
License license = new License();
license.setLicense("Aspose.Words.lic");
Running the function I’ve got those errors:
java.lang.SecurityException: SHA1 digest error
for resources / Aspose.License.BlackList.xml
at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
at java.util.jar.JarVerifier.processEntry(Unknown Source)
at java.util.jar.JarVerifier.update(Unknown Source)
at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java: 2093)
at org.apache.catalina.loader.WebappClassLoader.findResource(WebappClassLoader.java: 961)
at org.apache.catalina.loader.WebappClassLoader.getResourceAsStream(WebappClassLoader.java: 1182)
at java.lang.Class.getResourceAsStream(Unknown Source)
at com.aspose.words.da.dA(License.java: 801)
at com.aspose.words.da.c(License.java: 380)
at com.aspose.words.da.as(License.java: 345)
at com.aspose.words.License.setLicense(License.java: 226)
java.lang.IllegalStateException: Cannot find black listed licenses resource. Please report this error to Aspose.
at com.aspose.words.da.dA(License.java:803)
at com.aspose.words.da.c(License.java:380)
at com.aspose.words.da.as(License.java:345)
at com.aspose.words.License.setLicense(License.java:226)
I need you support please.
Many thanks.
Regards.