ES7.14报错 Invalid receiver type interface org.apache.http.Header;not a subtype XX.http.NameValuePair
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相关推荐
- 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 ...
- Python报错 TypeError: super(type, obj): obj must be an instance or subtype of type
今天在Spyder里用BeautifulSoup的时候跑代码报这个TypeError. 遇到这个问题之后在网上搜了一下也不知道怎么解决,结果在Spyder里重启Ipython内核之后,就没有报错能顺利 ...
- vue3使用箭头函数导入异步组件报错Invalid VNode type: undefined的解决方案
import { defineAsyncComponent } from 'vue'export default {components: {Header: defineAsyncComponent( ...
- 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 ...
- 微信二次分享签名错误php,微信二次分享报错invalid signature问题及解决方法
基于微信公众号开发的h5页面(使用jssdk接口),由用户A分享给用户B,用户B再次分享这个页面时,不能成功分享.问题出在用户B收到的分享链接与用户A打开的链接不同 A用户的链接为 B用户收到的连接 ...
- IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found.
____tz_zs IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found. 一.方法一 使用token令牌进行身 ...
- 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 ...
- 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 ...
- server 2008 mysql 报错 0xc000007b_docker插件部署项目,volumes报错invalid volume specification...
关于idea使用docker插件部署项目,volumes报错invalid volume specification 观察volumes那行,没写错的.但是........ 使用docker-comp ...
- jenkis编译报错:需要class,interface或enum
现象: 1.jenkis编译报错:需要class,interface或enum 2.使用ant进行编译ok. 解决方法: 1. Jenkis重新编译一个以前成功的svn版本,直至编译成功. 2.Jen ...
最新文章
- 【Spring实战】—— 5 设值注入
- ELNET服务被我删了,如何安装?
- Express — 使用步骤
- opensll、libcurl库安装的使用,树莓派CSI摄像头的配置,树莓派调用智能API平台实现人脸识别、树莓派配置中文环境
- 如何在 ASP.NET MVC 中集成 AngularJS(3)
- Java中文与ASCII码的转换
- 无码系列-7-代码的语文修养_上篇
- SpringBoot2.0系列(1)----初识SpringBoot
- html代码自动提示语怎么设置,怎么为Html的Select加提示语_html
- vue 项目中遇到的问题及解决方案
- oc总结 --oc基础语法相关知识
- AI手机会怎么样?那不得看高通骁龙的AI能怎样
- php正弦函数图像,Go语言输出正弦函数(Sin)图像
- jemalloc 使用
- 【C语言】简单的闰年计算
- 比较几种步进电机加减速控制方案
- python 图片正方形化
- SpringMVC Controller中常用到的一些注解
- 如何实现产销平衡_实现SOP平衡的流程和策略
- 谷歌浏览器显示菜单栏