OIM Application Deployment Fails Intermittently

After you upgrade Oracle Identity Manager to 12c (12.2.1.3.0), the oim application deployment may fail with the following error:

<Error> <Deployer> <BEA-149231> <Unable to  set the activation state to true for the application "oim".  
weblogic.application.ModuleException: java.lang.NoClassDefFoundError: Could  
not initialize class oracle.iam.platform.utils.cache.Cache 

To resolve this, restart the Oracle Identity Manager Server.