Im upgrading log4j from 1.x to 2.3. after setting up maven dependencies my project is builing and application is running fine.
But while builing, at test goal getting below mentioned error in variouse unit Test classes which are already there.
I could find a workaround by using @PowerMockIgnore. But worried of changing all the 100s of files which are already written.
ERROR StatusLogger Could not reconfigure JMX java.lang.LinkageError: loading constraint violation: loader "org/powermock/core/classloader/MockClassLoader@5fa95fa9" previously initiated loading for a different type with name "javax/management/MBeanServer" defined by loader "com/ibm/oti/vm/BootstrapClassLoader@7a5c7a5c".