when I load attached signed docx, I got jdk error
- Code: Select all
java.lang.NoSuchMethodError: 'void com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315OmitComments.setWriter(java.io.OutputStream)'
I am loading it using Spire.doc latest (spire.doc-12.4.6). I tried multiple methods for loading, everything works the same.
I am using this jdk version, but the error is the same on almost all of the corretto 11 versions. Looks like xmlsec in jdk does not have a method on Canonicalizer class.
- Code: Select all
openjdk 11.0.22 2024-01-16 LTS
OpenJDK Runtime Environment Corretto-11.0.22.7.1 (build 11.0.22+7-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.22.7.1 (build 11.0.22+7-LTS, mixed mode)
Is there a reccomended jdk version for running spire.doc?
Thanks.
Jan