Java Error Unsupported size for JarEntry META-INF/MANIFEST.MF

Hello,
I am getting a compile time build error below when trying to run your Examples that I cloned from GitHub.

[ERROR] error reading C:\Users\SMUNOZ\.m2\repository\com\groupdocs\groupdocs-viewer\23.11\groupdocs-viewer-23.11.jar; Unsupported size: 22794305 for JarEntry META-INF/MANIFEST.MF. Allowed max size: 8000000 bytes

Please help!

Thanks,
Sean

Well, this problem appears to be a new “feature” of JDK 17.08.

See SO link: java - Unsupported size for JarEntry META-INF/MANIFEST.MF - Stack Overflow

Thanks,
Sean

@SRMUNOZ

Yes, the default signature maximum file size was reduced in new versions of Java platform. At the moment we’re looking for a fix. The proposed workaround that you’ve linked should work, use the following value -Djdk.jar.maxSignatureFileSize=28000000.

@SRMUNOZ

This issue was fixed in GroupDocs.Viewer for Java 24.4. This version does not require setting -Djdk.jar.maxSignatureFileSize=28000000. Please let us know if you have any questions.