当前位置:   article > 正文

SpringBoot连接Redis报错:org.springframework.data.redis.RedisSystemException: Error in execution

org.springframework.data.redis.redissystemexception: error in execution; nes

org.springframework.data.redis.RedisSystemException: Error in execution

使用springboot整合redis报错:

org.springframework.data.redis.RedisSystemException: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: NOAUTH Authentication required.
  • 1

在这里插入图片描述

报错的原因是没有在springboot配置文件中添加redis的密码或者密码错误
在Redis的安装目录 redis.windows.conf 文件中找到requirepass后面的一串就是密码添加到springboot的配置文件中即可

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/378408
推荐阅读
相关标签
  

闽ICP备14008679号