Download this tool, (warning it auto downloads)
https://johann.loefflmann.net/downloads/jarfix.exe
Run it once, and it fixes your .jar straight away. Credit to @Explv as he made a post I found today somewhere adressing this problem.
All you need to do it download it, run it, and it just automatically fixes the problem.