lundi 4 janvier 2016

java.io.IOException: invalid SHA1 signature file digest

java.io.IOException: invalid SHA1 signature file digest 

This exception occurs when we user jarsigner.

This error can happen when the jar is signed twice.
it can be resolved if you open the jar that you  want to sign and "unsign" it.

 to unsign a jar , you must delete *.SF, *.DSA, *.RSA files from the jar's META-INF and then sign the jar again.










Aucun commentaire:

Enregistrer un commentaire