Delete SUN_MICR.RSA, SUN_MICR.SF solves manifest signature file entry problem

╄→尐↘猪︶ㄣ 提交于 2019-12-06 00:14:55

Another workaround, which will allow the use of jar building applications without needing some other script, is the following:

•unzip activation.jar (it should be in your classpath since mail.jar needs it)

•open META_INF/MANIFEST.MF

•Copy paste all the lines that look like

Name: javax/activation/MimeTypeParseException.class
SHA1-Digest: uxV3qLHRu5JTOFrHnJXm13AO+0M=

into your program/jar's manifeqt.

Tada ! it works as expected.

Check, there must be another jar file having activation.jar, causing conflict.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!