When I run the tomcat, I can see the message (Unable to process Jar entry [META-INF/versions/9/module-info.class] from Jar)
My environment
java 1.7
tomcat 7.0.47
aspose-wrods 19.2 (jdk16)
I don’t know why this message occurs. I know that module-info.class is compiled by java 9. but I use classifiier jdk16.
Can I know why does module-info.class includes jar(jdk1.6)?
and How can I solve it…?
I guess that if tomcat or other WAS doesn’t support java9, I saw that exception messasge.
but it works well.
=> When I run the tomcat, I can see the message (Unable to process Jar entry [META-INF/versions/9/module-info.class] from Jar)
So,
I want to know that I can use WAS that doesn’t support java9 ?
Event though I see a message, is there any problem?
(It occur the same exception message even if Aspose words version is chaned)
This is not an issue in Aspose.Words. Apache Commons BCEL (byte code engineering library) is used by Tomcat to scan annotations. The old Commons BCEL version did not know how to read the module-info.class file.
However, if we should use this tomcat version(we can’t update tomcat), Can I ignore this problem?
because though I can see exception message, what we have made is working well.
I’m not sure if I can ignore it because I don’t have any knowledge of this error(java 9 module-info).
If it’s not a big problem, can I use it as it is?
Of course, I will update the tomcat version over time. I want to ask If I can use it until then.
Yes, you can ignore the error. We had the same situation with old version of Caucho Resin and this error does not have any impact on real work of Aspose.Words.