若依-plus-vue启动显示Redis连接错误

用的Redis是windows版本,6.2.6

报错的主要信息如下:

Failed to instantiate org.redisson.api.RedissonClient: Factory method 'redisson' threw exception; nested exception is org.redisson.client.RedisConnectionException: Unable to connect to Redis server: 127.0.0.1/127.0.0.1:6379

org.redisson.client.RedisException: ERR AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct?. channel: id: 0x78c78239, L:/127.0.0.1:53460 - R:127.0.0.1/127.0.0.1:6379 command: (AUTH), params: (password masked)

开始排查使用Redis-cli进行测试:发现Redis启动正常:

自己用了一些其他的demo进行测试也是可以连接Redis的,使用Redis连接管理工具也是可以连接的,但是这个 若依-plus-vue 启动的时候就是报上面的错误。

解决方案:

把yaml文件中连接Redis 的配置的密码字段改为 auth,然后发现就可以了。

目前我也没搞明白,什么时候用password,什么时候用auth,我另一个demo项目,用的也是redis-windows-6.2.6, 但是使用password字段就可以连接。。。感觉与redis-starter的版本有关。

相关推荐
蜗牛一步步往上爬36 分钟前
第一章 初识Linux shell
linux·运维·服务器
装不满的克莱因瓶42 分钟前
【从零搭建】AI大模型之ReactAgent智能体对接MCP实战
java·人工智能·ai·springai·mcp·springaialibaba
无足鸟ICT1 小时前
【RHCA+】系统调优配置文件
linux·服务器
纆兰1 小时前
MySQL的多表查询
数据库·mysql
七夜zippoe1 小时前
Nexent 模型配置:4 字段与 9 个槽位
数据库·人工智能·模型·nexent
进击的荆棘1 小时前
MySQL——表的操作
数据库·mysql
SimonKing1 小时前
AI Assistant被"隐藏"了?别慌,IDEA 2026.3 这波是换了个脑子
java·后端·程序员
Resean02232 小时前
SpringMVC 6+源码分析(九)异常处理
java·spring·springmvc
饿了吃洗衣凝珠2 小时前
DNS域名解析服务器
运维·服务器
geats人山人海2 小时前
现代c++4.1
java·开发语言·c++