Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3ggghsa opened this issue Dec 7, 2022 · 2 comments
Open

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

3ggghsa opened this issue Dec 7, 2022 · 2 comments

Comments

@3ggghsa
Copy link

3ggghsa commented Dec 7, 2022

报错内容: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
Copy link
Author

3ggghsa commented Dec 7, 2022

补充:加了redis也不行

@xieshenace
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants