Planman deploy error when deploying a plug-in

When using the planman deploy command to deploy a plug-in, the deploy fails with the following error:
AWSJCS011E An internal error has occurred. The error is the following: 
"ACTEX0019E The following errors
from the Java compiler cannot be parsed:
error: error reading <file_name>; Error opening zip file 
 <file_name>

Cause and solution:

The .jar file identified in the message is corrupt. Check and correct the format of the file before retrying the deploy.