Power Mockito showing error for org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner cannot be resolved
问题 Mock the static method in class. When using PowerMockito in test class its showing error as The type org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner cannot be resolved. It is indirectly referenced from required .class files Added dependencies as below in gradle project. testCompile 'junit:junit:4.12' testCompile 'org.easymock:easymock:3.1' testCompile 'org.powermock:powermock-core:1.6.1' testCompile 'org.powermock:powermock-module-junit4:1.6.1' testCompile 'org