title: Could not initialize class org.apache.logging.log4j.util.PropertiesUtil while using Powermock
body: <p>While upgrading from log4j1 to log4j2,when easymock is trying to create a mock object it goes through the PowerMock mock control gateway.</p>
  
  <p>PowerMock which hits log4j issue as caused by: </p>
  
  <blockquote>
    <p>java.lang.NoClassDefFoundError: Could not initialize class org.apache.logging.log4j.util.PropertiesUtil. </p>
  </blockquote>
  
  <p>Can anyone has thoughts on this how to resolve this? Thanks..</p>