其他分享
首页 > 其他分享> > springmvc学习指南 之---第31篇 使用墨客进行测试报错

springmvc学习指南 之---第31篇 使用墨客进行测试报错

作者:互联网

java.lang.AbstractMethodError: org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.isTypeMoc...

来自于文章https://blog.csdn.net/weixin_30920853/article/details/99551328

<dependency>
    <groupId>org.powermock</groupId>
    <artifactId>powermock-core</artifactId>
    <version>2.0.0-RC.4</version>
    <scope>test</scope>
    </dependency>
<dependency>
    <groupId>org.powermock</groupId>
    <artifactId>powermock-module-junit4</artifactId>
    <version>2.0.0-beta.5</version>
    <scope>test</scope>
</dependency>
<dependency>
    <groupId>org.powermock</groupId>
    <artifactId>powermock-api-mockito2</artifactId>
    <version>2.0.0-beta.5</version>
    <scope>test</scope>
</dependency>
<dependency>
    <groupId>cglib</groupId>
    <artifactId>cglib</artifactId>
    <version>3.2.9</version>
</dependency>
<dependency>
    <groupId>org.mockito</groupId>
    <artifactId>mockito-inline</artifactId>
    <version>2.15.0</version>
</dependency>

 

标签:学习指南,mockito,test,api,报错,墨客,org,2.0,powermock
来源: https://www.cnblogs.com/zytcomeon/p/15531996.html