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