Hello,
I have a project which use the aspose lib below, with in Java 6 and WebLogic 12c :
aspose.word => 22.9 (only for java6)
aspose.word.jasperreports => 19.12 (aspose.words.jasperreports-4.7.0-5.5.0)
jasper => net.sf.jasperreports : 4.7.1
But in Tomcat, all is ok with the same version aspose libs. It’s strange.
I have checked the 2 jars : In the aspose.words.jasperreports-4.7.0-5.5.0.jar (Aspose.Word.Jasperreports- 19.12.1.zip) , there is a package named com.aspose.words ;
and in the aspose.word.22.9.jar for java6 , there is also a package with the same name:
package com.aspose.words;
then There are two issues :
1)
static synchronized void initLicenseForJasperReports() {
......
om.aspose.words.jasperreports.License wordsJasperLicense = new com.aspose.words.jasperreports.License();
wordsJasperLicense.setLicense(fullPath);
.......
}
initLicenseForJasperReports : (ligne 154) - Exception : java.lang.SecurityException: class "com.aspose.words.awjr239"'s signer information does not match signer information of other classes in the same package
genererFichierEditiqueWORD () {
....
AWDocExporter exporter = new AWDocExporter();
...
}
=====>
genererFichierEditiqueWORD : (ligne 413) - class "com.aspose.words.awjr60"'s signer information does not match signer information of other classes in the same package