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相关推荐

  1. Unexpected character (‘-‘ (code 45))问题

    在Python2使用requests去往前端传输数据时碰到Unexpected character ('-' (code 45)) 打开后台服务器,发现上述错误.对比源代码 发现files 参数多余直 ...

  2. redis操作报错——WRONGTYPE Operation against a key holding the wrong kind of value

    背景介绍 今天在操作redis的时候,突然遇到遇到以下错误 原因分析 尝试一:刚看到这个错误的时候,我第一意识是redis中没有key或者值,于是查了一下redis,发现是有这组值的. 果断查了资料发 ...

  3. json解析报错:HttpMessageNotReadableException: JSON parse error: Unexpected character (‘/‘ (code 47))

    报错信息 at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 1, column: 109] ...

  4. es报Unexpected character (‘ï‘ (code 239)): was expecting comma to separate Object entries解决方法

    [现象]执行es命令时,报如下错误: {   "error" : {     "root_cause" : [       {         "ty ...

  5. Redis 启动报错 QForkMasterInit: system error caught. error code=0x000005af 解决

    title: Redis 启动报错 QForkMasterInit system error caught error code=0x000005af 解决 date: 2022-03-16 16:2 ...

  6. 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试图为 ...

  7. 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 ...

  8. npm install 报错:ERR! code EINTEGRITY 解决方案

    npm install 报错:ERR! code EINTEGRITY 解决方案 参考文章: (1)npm install 报错:ERR! code EINTEGRITY 解决方案 (2)https: ...

  9. mvn deploy 报错:Return code is: 400, ReasonPhrase: Bad Request. -

    mvn deploy 报错:Return code is: 400, ReasonPhrase: Bad Request. -> TEST通过没有报错,但是最终部署到Nexus中时出现错误. 后 ...

最新文章

  1. python股票编程规范_Python 编程规范梳理
  2. perform指标分析_performace 监控统计
  3. 免校准的电量计量芯片_交直流两用计量芯片HLW8112
  4. python 防破解_Python 程序员如何防止数据被修改?
  5. python 逻辑运算的短路问题
  6. C++ gdb core调试 崩溃日志 都是问号??
  7. Android——实现全国省市区地区选择
  8. 回溯法 | 图的m着色问题
  9. Promise的resolve方法和reject方法
  10. 50多首经典的广播电台背景音乐推荐下载
  11. Centos7设置开机自动运行脚本
  12. http://gm100861.blog.51cto.com/1930562/954333
  13. 化学专业有必要学python吗-cnBeta.COM - 中文业界资讯站
  14. 基于JavaEye-API实现的Gerry-聊天QQ版v1.0 (全)
  15. 关于安卓开发,在鸿蒙系统应用时,File读取文被拒绝访问的解决方案
  16. 揪出占用电脑C盘的元凶“微信”,立马清爽了
  17. 利用 Echarts 简单制作省份或区域地图步骤
  18. python乘法口诀倒序_利用Python的For控制流输出乘法口诀
  19. Mac-Mac上如何制作GIF动图
  20. Python机器学习(二):决策树(Decision Tree-DTs)

热门文章

  1. 骑士游历数组任意起点c语言,java课程设计骑士游历程序的开发
  2. linux防火墙状态查看/打开/关闭及端口/打开/关闭操作记录
  3. 最大池化层和平均池化层
  4. Ubuntu如何安装python虚拟环境
  5. linux下bowtie2安装
  6. xml文件导入wps_WPS表格怎么导入XML数据?:excel能打开wps表格吗
  7. cmcc_simplerop
  8. 第四章 SQL查询之联合语句
  9. php积分夺宝,GitHub - irisroyaltyf/thinkphp5.0_shop: 基于thinkphp5,多商户商城。积分商城、团购、秒杀、拍卖、夺宝等多插件(持续开发中)...
  10. rpn网络结构再分析