kk-anti-reptile icon indicating copy to clipboard operation
kk-anti-reptile copied to clipboard

开启kk 没有使用redis一直报错

Open 3ggghsa opened this issue 2 years ago • 2 comments

报错内容:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisson' defined in class path resource [cn/keking/anti_reptile/config/RedissonAutoConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.redisson.api.RedissonClient]: Factory method 'redisson' threw exception; nested exception is java.lang.NullPointerException

有没有哪位可以解答一下 实在有一些弄不懂

3ggghsa avatar Dec 07 '22 07:12 3ggghsa

补充:加了redis也不行

3ggghsa avatar Dec 07 '22 07:12 3ggghsa

需要配置redisson ,并不是spring.redis

xieshenace avatar Sep 15 '23 03:09 xieshenace