Ok so this is about the dreaded jarsigner error :
unable to sign jar: java.util.zip.ZipException: invalid entry compressed size
99% of the time what that means is your jar is already signed
However jarsigner has no way to remove signatures from a jar , but you can do that manually since a jar file is a zip archive all you have to do is extract it , delete the META-INF directory and repack it.
Personally i use muCommander , you have to do this : shift+F6 (rename to .zip) > enter > del META-INF > enter > shift+F6 (rename back)
It treats archives as standard directories so it automatically handles the unpacking and repacking of the archive transparently
If you are a terminal lover you can run this for the same results:
zip -d YourJar.ext “META-INF*”
Which is going to result in this :
deleting: META-INF/MANIFEST.MF
deleting: META-INF/CERT.SF
deleting: META-INF/CERT.RSA