总感觉自己打jar包总会遇到各种各样的问题以后都写在这个集合里面
1.遇到A JNI error has occurred, please check your installation and try again问题
···
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.SecurityException: Invalid signature file d
igest for Manifest main attributes
···
百度了一会。用解压工具打开jar包进入 .jar\META-INF目录
删除:“.SF”和“*.DSA”文件保存即可。jar包就可以正常运行了
网友评论