老师wiremock伪造服务的时候报错

来源:3-12 使用WireMock伪造REST服务

夏默默

2017-10-21

http://img1.sycdn.imooc.com/szimg/59ea84de0001dd1312190478.jpg

http://img1.sycdn.imooc.com/szimg/59ea84de0001e61819201030.jpg


写回答

1回答

admxj

2017-10-21

少了个httpcomponents依赖 pom 文件添加这个依赖就可以了

<dependency>
    <groupId>org.apache.httpcomponents</groupId>
    <artifactId>httpclient</artifactId>
</dependency>


2
1
夏默默
非常感谢!
2017-10-22
共1条回复

Spring Security技术栈开发企业级认证与授权

Spring Security技术栈,REST风格开发常见接口,独立开发认证授权模块保证REST服务安全

2662 学习 · 1561 问题

查看课程