org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot construct instance of `java.util.LinkedHashMap` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('mobile:123321'); nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `java.util.LinkedHashMap` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('mobile:123321') at [Source: (PushbackInputStream); line: 1, column: 1]
在发送短信服务需要启动Rides时,需要更改本地Rides的密码
网上教程为:在redis.windows.conf文件中配置:requirepass 123456
但是更改之后没有任何作用。。。
最后在 在右键【此电脑】 【管理】 下拉【服务和应用程序】 双击【服务】找到Redis服务 右键【属性】
发现!!我的Redis启动命令为:F:\Redis\redis-server.exe --service-run "F:\Redis\redis.windows-service.conf"
所以我应该更改的是 redis.windows-service.conf 这个配置文件中的requirepass
最大的可能就是:
我的Redis版本是5.0.14
网上教程Redis的版本是3.*.*
服了~~!!搁这搁那呢!
如果本篇文章对你有帮助,还请一键三连【开心】