Mockito java.lang.NoSuchMeThodError

阅读更多
异常情况:
 
org.mocktio.internal.createion.instance.InstiatorProvider.getInstantiator(Long/mockito/mock/MockCreationSettings;)Lorg/mockito.internal/creation/instance/Instantiator
 
这种情况是mocktio jar 和powermock jar包冲突 ,所以建议把mocktio pom去掉
 
org.mockito
mocktio-all
test
 

你可能感兴趣的:(powermock)