when setting up license for Aspose.Words 23.2 I get an exception.
for other Aspose products (we have a license for Aspose Total), with the same license, there’s no such problem.
here’s the backtrace
Exception in thread “main” java.lang.NoClassDefFoundError: com.aspose.words.internal.zzYFn (initialization failure)
at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:84)
at com.aspose.words.internal.zzZ3M.zzX6x(Unknown Source)
at com.aspose.words.internal.zzZ3M.zzZn5(Unknown Source)
at com.aspose.words.zzpP.zzZn5(Unknown Source)
at com.aspose.words.zzpP.zzX6x(Unknown Source)
at com.aspose.words.zzpP.zzYNP(Unknown Source)
at com.aspose.words.zzKH.zzYNP(Unknown Source)
at com.aspose.words.zzKH.zzYNP(Unknown Source)
at com.aspose.words.zzKH.zzZn5(Unknown Source)
at com.aspose.words.zzKH.zzYCA(Unknown Source)
at com.aspose.words.zzKH.zzYEV(Unknown Source)
at com.aspose.words.zzKH.zzYEV(Unknown Source)
at com.aspose.words.License.setLicense(Unknown Source)
at Main.main(Main.java:2)
Caused by: com.aspose.words.internal.zzO9: Failed self test on encryption: AES
at com.aspose.words.internal.zzWjT.zzYNP(Unknown Source)
at com.aspose.words.internal.zzY4p$zzZn5.zzVVS(Unknown Source)
at com.aspose.words.internal.zzY4p$zzZn5.zzZOb(Unknown Source)
at com.aspose.words.internal.zzY4p$1.zzZgg(Unknown Source)
at com.aspose.words.internal.zzY4p$1.zzZOb(Unknown Source)
at com.aspose.words.internal.zzXbo$zzZeP.zzY6Y(Unknown Source)
at com.aspose.words.internal.zzXbo.(Unknown Source)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:278)
at com.aspose.words.internal.zzX78.zzWSS(Unknown Source)
at com.aspose.words.internal.zzX78.zzWA8(Unknown Source)
at com.aspose.words.internal.zzX78$zzYNP.(Unknown Source)
at com.aspose.words.internal.zzX78.zzX91(Unknown Source)
at com.aspose.words.internal.zzYO6.zzYeY(Unknown Source)
at com.aspose.words.internal.zzYO6.zzZzA(Unknown Source)
at com.aspose.words.internal.zzWwU.zzYBG(Unknown Source)
at com.aspose.words.internal.zzWc5$zzXKX$1.zzYNP(Unknown Source)
at com.aspose.words.internal.zzWc5$zzXKX$1.zzWng(Unknown Source)
at com.aspose.words.internal.zzWjT.zzYNP(Unknown Source)
at com.aspose.words.internal.zzWc5$zzXKX.zzZ6X(Unknown Source)
at com.aspose.words.internal.zzWc5$zzXKX.zzZOb(Unknown Source)
at com.aspose.words.internal.zzWc5.(Unknown Source)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:278)
at com.aspose.words.internal.zzX78.zzWSS(Unknown Source)
at com.aspose.words.internal.zzX78.zzWA8(Unknown Source)
at com.aspose.words.internal.zzX78$zzYNP.(Unknown Source)
at com.aspose.words.internal.zzX78.zzX91(Unknown Source)
at com.aspose.words.internal.zzX2D$zzX6x.(Unknown Source)
at com.aspose.words.internal.zzX2D$zzYNP.zzYNP(Unknown Source)
at com.aspose.words.internal.zzYFn.(Unknown Source)
at com.aspose.words.internal.zzZ3M.zzX6x(Unknown Source)
at com.aspose.words.internal.zzZ3M.zzZn5(Unknown Source)
at com.aspose.words.zzpP.zzZn5(Unknown Source)
at com.aspose.words.zzpP.zzX6x(Unknown Source)
at com.aspose.words.zzpP.zzYNP(Unknown Source)
at com.aspose.words.zzKH.zzYNP(Unknown Source)
at com.aspose.words.zzKH.zzYNP(Unknown Source)
at com.aspose.words.zzKH.zzZn5(Unknown Source)
at com.aspose.words.zzKH.zzYCA(Unknown Source)
at com.aspose.words.zzKH.zzYEV(Unknown Source)
at com.aspose.words.zzKH.zzYEV(Unknown Source)
at com.aspose.words.License.setLicense(Unknown Source)
here’s the code:
public static void main(String[] args) {
new com.aspose.words.License().setLicense("licensePath");
}
OS version is RHEL 7.6
JDK version is 1.8