ES7.14执行时异常信息:

Caused by: java.lang.invoke.LambdaConversionException: Invalid receiver type interface org.apache.http.Header;not a subtype of implementation type interface org.apache.http.NameValuePair

原因: httpclient 版本冲突导致

通过 idea 找到有依赖 httpclient 的 jar

提示编译是4.5.10,但是配置的是4.5.3

参考:http://t.zoukankan.com/xxoome-p-13858569.html

解决方法:4.5.3改成4.5.10

<!-- httpclient 依赖-->
<dependency><groupId>org.apache.httpcomponents</groupId><artifactId>httpclient</artifactId><version>4.5.3</version>
</dependency>
<dependency><groupId>org.apache.httpcomponents</groupId><artifactId>httpmime</artifactId><version>4.5.3</version>
</dependency>

修改成:

<!-- httpclient 依赖-->
<dependency><groupId>org.apache.httpcomponents</groupId><artifactId>httpclient</artifactId><version>4.5.10</version>
</dependency>
<dependency><groupId>org.apache.httpcomponents</groupId><artifactId>httpmime</artifactId><version>4.5.10</version>
</dependency>

问题解决。

ES7.14报错 Invalid receiver type interface org.apache.http.Header;not a subtype XX.http.NameValuePair相关推荐

  1. vue 报错Invalid prop: type check failed for prop “span“. Expected Number, with value 2, got String wit

    控制台报错: 错误代码如下: <el-col span="2"><el-buttontype="primary"@click="ha ...

  2. Python报错 TypeError: super(type, obj): obj must be an instance or subtype of type

    今天在Spyder里用BeautifulSoup的时候跑代码报这个TypeError. 遇到这个问题之后在网上搜了一下也不知道怎么解决,结果在Spyder里重启Ipython内核之后,就没有报错能顺利 ...

  3. vue3使用箭头函数导入异步组件报错Invalid VNode type: undefined的解决方案

    import { defineAsyncComponent } from 'vue'export default {components: {Header: defineAsyncComponent( ...

  4. MATLAB报错Invalid ADAPTORNAME specified. Type 'imaqhwinfo' for a list of available ADAPTORNAMEs. Image

    MATLAB报错Invalid ADAPTORNAME specified. Type 'imaqhwinfo' for a list of available ADAPTORNAMEs. Image ...

  5. 微信二次分享签名错误php,微信二次分享报错invalid signature问题及解决方法

    基于微信公众号开发的h5页面(使用jssdk接口),由用户A分享给用户B,用户B再次分享这个页面时,不能成功分享.问题出在用户B收到的分享链接与用户A打开的链接不同 A用户的链接为 B用户收到的连接 ...

  6. IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found.

    ____tz_zs IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found. 一.方法一 使用token令牌进行身 ...

  7. SAP MM 创建退货类型的公司间STO,报错 -No delivery type for returns processing assigned to item 00010-

    SAP MM 创建退货类型的公司间STO,报错 -No delivery type for returns processing assigned to item 00010- 执行事务代码ME21N ...

  8. SAP MM 维护公司间STO报错-No delivery type defined for supplying plant NMI1 and document type NB-

    SAP MM 维护公司间STO(vendor consignment 模式)报错-No delivery type defined for supplying plant NMI1 and docum ...

  9. server 2008 mysql 报错 0xc000007b_docker插件部署项目,volumes报错invalid volume specification...

    关于idea使用docker插件部署项目,volumes报错invalid volume specification 观察volumes那行,没写错的.但是........ 使用docker-comp ...

  10. jenkis编译报错:需要class,interface或enum

    现象: 1.jenkis编译报错:需要class,interface或enum 2.使用ant进行编译ok. 解决方法: 1. Jenkis重新编译一个以前成功的svn版本,直至编译成功. 2.Jen ...

最新文章

  1. 【Spring实战】—— 5 设值注入
  2. ELNET服务被我删了,如何安装?
  3. Express — 使用步骤
  4. opensll、libcurl库安装的使用,树莓派CSI摄像头的配置,树莓派调用智能API平台实现人脸识别、树莓派配置中文环境
  5. 如何在 ASP.NET MVC 中集成 AngularJS(3)
  6. Java中文与ASCII码的转换
  7. 无码系列-7-代码的语文修养_上篇
  8. SpringBoot2.0系列(1)----初识SpringBoot
  9. html代码自动提示语怎么设置,怎么为Html的Select加提示语_html
  10. vue 项目中遇到的问题及解决方案
  11. oc总结 --oc基础语法相关知识
  12. AI手机会怎么样?那不得看高通骁龙的AI能怎样
  13. php正弦函数图像,Go语言输出正弦函数(Sin)图像
  14. jemalloc 使用
  15. 【C语言】简单的闰年计算
  16. 比较几种步进电机加减速控制方案
  17. python 图片正方形化
  18. SpringMVC Controller中常用到的一些注解
  19. 如何实现产销平衡_实现SOP平衡的流程和策略
  20. 谷歌浏览器显示菜单栏

热门文章

  1. 常用向量相似度衡量指标
  2. solidity合约调用合约方法的方式
  3. 浏览器解析jsx_jsx的本质
  4. 掌上文件、证件、文档扫描软件
  5. word中公式和文字不在一条水平线上
  6. mysql 全文索引无效_为什么MySQL全文索引不起作用?
  7. skywalking elasticsearch 版本匹配问题
  8. 名单出炉!下一轮“双一流”,重点建设这些高校!
  9. Hadoop Streaming和Pipes会意
  10. Vscode——内置浏览器