Hi Tahir,
fpaparoni:
Failed to define class com.aspose.words.awjr37 in Module "com.aspose:main" from local module loader @14b25f37 : java.lang.SecurityException: class "com.aspose.words.awjr37"'s signer information does not match signer information of other classes in the same packageIs there a way to resolve this conflict between these libraries?
- Please share Jasper Reports version.
- Please share version of Aspose.Words for JasperReports and Aspose.Words for Java.
- Please create a standalone Java application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.
As soon as you get these pieces of information ready, we'll start investigation into your issue and provide you more information. Thanks for your cooperation.
Hi Tahir,
- JasperReport 5.6.0
- Aspose Words for Java 11.7.0.0
- Aspose Words for JasperReports 2.3.0
- Web application deployed under JBoss 7.1.1.Final
Hi Tahir,
I tried two jar without signature (the trial jars) but the problem is already here.
public void contextInitialized(ServletContextEvent event) {
logger.info("Initializing application context...");
try {
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("/test/aspose/Aspose.Word.lic");
com.aspose.words.License license = new com.aspose.words.License();
license.setLicense(inputStream);
logger.info("Application context initialized (Aspose.Words License)");
InputStream inputStream2 = this.getClass().getClassLoader().getResourceAsStream("/test/aspose/Aspose.Words.JasperReports.lic");
com.aspose.words.jasperreports.License license2 = new com.aspose.words.jasperreports.License();
license2.setLicense(inputStream2);
logger.info("Application context initialized (Aspose.Words for JasperReports License)");
} catch (Exception e) {
logger.error("Error encountered trying to set Aspose.Words license!", e);
logger.error(e.getMessage());
}
}
Hi Tahir,
Hi Federico,
Hi Tahir,
Hi Federico,