binarywang/weixin-java-mp-demo

使用redis报错

hlwskgypmb opened this issue · 2 comments

`Could not get a resource from the pool
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool

wx:
mp:
useRedis: true
redisConfig:
host: 127.0.0.1
port: 6379
timeout: 2000`

看起来像是redis连接不上的问题?

需要在本地或者服务器安装Redis,然后才能运行,如果是windows的话需要安装WSL
linux command: sudo apt install redis-server
centos command 会不一样: sudo dnf install redis nano