Running Aspose.Words 18.12 for Java in Web Application Server Resin 4.0.59 and Java 8 I get the following error:
failed scanning class META-INF/versions/9/module-info.class
java.lang.IllegalStateException: META-INF/versions/9/module-info.class: ‘19’ is an unknown constant pool type.
java.lang.IllegalStateException: META-INF/versions/9/module-info.class: ‘19’ is an unknown constant pool type.
at com.caucho.bytecode.ByteCodeClassScanner.error(ByteCodeClassScanner.java:575)
The error caused by the fact that this file /versions/9/module-info.class is compiled by Java 9 but all other classes in the library are compiled by Java 6.
Could you please compile the file also for Java 6/7/8?
Thanks for your inquiry. We have logged this problem in our issue tracking system as WORDSJAVA-1963. You will be notified via this forum thread once this issue is resolved.
Thanks for your patience. We have tested the scenario using Resin/4.0.59 with Java 8 and have not managed to reproduce this issue at our end. Aspose.Words for Java works as expected on our end regardless of location:
It would be great if you please share how you create your web application. Please share the complete steps that you are using to reproduce this issue at our end. Thanks for your cooperation.
Yes, the latest version of Resin 4.0.59 works properly fine with Aspose.Words 18.11 and higher.
Thank you very much for your input.
You can close the issue.