redis操作报错-Unexpected character (‘-‘ (code 45)): Expected space separating root-level values
com.fasterxml.jackson.core.JsonParseException: Unexpected character (’-’ (code 45)): Expected space separating root-level values
at [Source: (byte[])“2021-11-17 18:48:51”; line: 1, column: 6]
我遇到原因是 一位同事用的下面的属性写的
@Autowiredprivate RedisTemplate<String,String> redisTemplate;
然后用的下面读取的。。
@Autowiredprivate RedisTemplate redisTemplate;
解决办法:统一一个就好
redis操作报错-Unexpected character (‘-‘ (code 45)): Expected space separating root-level values相关推荐
- Unexpected character (‘-‘ (code 45))问题
在Python2使用requests去往前端传输数据时碰到Unexpected character ('-' (code 45)) 打开后台服务器,发现上述错误.对比源代码 发现files 参数多余直 ...
- redis操作报错——WRONGTYPE Operation against a key holding the wrong kind of value
背景介绍 今天在操作redis的时候,突然遇到遇到以下错误 原因分析 尝试一:刚看到这个错误的时候,我第一意识是redis中没有key或者值,于是查了一下redis,发现是有这组值的. 果断查了资料发 ...
- json解析报错:HttpMessageNotReadableException: JSON parse error: Unexpected character (‘/‘ (code 47))
报错信息 at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 1, column: 109] ...
- es报Unexpected character (‘ï‘ (code 239)): was expecting comma to separate Object entries解决方法
[现象]执行es命令时,报如下错误: { "error" : { "root_cause" : [ { "ty ...
- Redis 启动报错 QForkMasterInit: system error caught. error code=0x000005af 解决
title: Redis 启动报错 QForkMasterInit system error caught error code=0x000005af 解决 date: 2022-03-16 16:2 ...
- SAP QM 执行事务代码QA11 报错- Selected set code does not exist, or data entered is incomplete-
SAP QM 执行事务代码QA11 报错- Selected set code does not exist, or data entered is incomplete- 执行事务代码QA11试图为 ...
- SAP IDoc Post不成功,报错 - A company code cannot be determined for LI 0000100061 –
SAP IDoc Post不成功,报错 - A company code cannot be determined for LI 0000100061 – IDoc#4096出现如下报错:A comp ...
- npm install 报错:ERR! code EINTEGRITY 解决方案
npm install 报错:ERR! code EINTEGRITY 解决方案 参考文章: (1)npm install 报错:ERR! code EINTEGRITY 解决方案 (2)https: ...
- mvn deploy 报错:Return code is: 400, ReasonPhrase: Bad Request. -
mvn deploy 报错:Return code is: 400, ReasonPhrase: Bad Request. -> TEST通过没有报错,但是最终部署到Nexus中时出现错误. 后 ...
最新文章
- python股票编程规范_Python 编程规范梳理
- perform指标分析_performace 监控统计
- 免校准的电量计量芯片_交直流两用计量芯片HLW8112
- python 防破解_Python 程序员如何防止数据被修改?
- python 逻辑运算的短路问题
- C++ gdb core调试 崩溃日志 都是问号??
- Android——实现全国省市区地区选择
- 回溯法 | 图的m着色问题
- Promise的resolve方法和reject方法
- 50多首经典的广播电台背景音乐推荐下载
- Centos7设置开机自动运行脚本
- http://gm100861.blog.51cto.com/1930562/954333
- 化学专业有必要学python吗-cnBeta.COM - 中文业界资讯站
- 基于JavaEye-API实现的Gerry-聊天QQ版v1.0 (全)
- 关于安卓开发,在鸿蒙系统应用时,File读取文被拒绝访问的解决方案
- 揪出占用电脑C盘的元凶“微信”,立马清爽了
- 利用 Echarts 简单制作省份或区域地图步骤
- python乘法口诀倒序_利用Python的For控制流输出乘法口诀
- Mac-Mac上如何制作GIF动图
- Python机器学习(二):决策树(Decision Tree-DTs)
热门文章
- 骑士游历数组任意起点c语言,java课程设计骑士游历程序的开发
- linux防火墙状态查看/打开/关闭及端口/打开/关闭操作记录
- 最大池化层和平均池化层
- Ubuntu如何安装python虚拟环境
- linux下bowtie2安装
- xml文件导入wps_WPS表格怎么导入XML数据?:excel能打开wps表格吗
- cmcc_simplerop
- 第四章 SQL查询之联合语句
- php积分夺宝,GitHub - irisroyaltyf/thinkphp5.0_shop: 基于thinkphp5,多商户商城。积分商城、团购、秒杀、拍卖、夺宝等多插件(持续开发中)...
- rpn网络结构再分析