整合springboot框架时把redis融入项目中
发现项目启动后没有报错,但是用Debugerr 模式时都没有进入断点
然后使用Postman 工具进行测试
' code': 500,' msg': '处理失败:Unable to connect to Redis; nestedexceptionisio.lettuce.core.redisconnectionexception : unabletoconnectto 192.168.89.132:6379 ','数据
经过故障诊断,redis配置的ip地址已更改
进入VIMredis.conf//redis配置文件
更改reids配置ip地址
然后按esc退出编辑模式,键入:wq保存并退出。