We are upgrading our application to Java 11 and we are facing the following issue:
The application fails to start with error:
Caused by: java.lang.NoClassDefFoundError: sun/reflect/Reflection
at com.aspose.barcode.License.setLicense(Unknown Source)
We use the Aspose.BarCode version: 18.10.1
We use the following snippet:
com.aspose.barcode.License asposeBarcodeLicense = new com.aspose.barcode.License();
Is Java 11 supported? If Aspose does not support Java 11, when should we be expecting a new version of Aspose to provide support?
- In the configuration of License of Aspose.BarCode, it seems that the
setLicense(String licenseName)method uses the
Reflection.getCallerClass(int)method, which has been removed permanently from Java
- It seems that Aspose.PDF and Aspose.Words works fine.