记录在JAVA-企微自建应用发送消息开发过程中遇到的一些问题及解决方案
错误1:could not get a resource from the pool
此原因是因为时隔很久忘记本地配置过redis的事情了,所以部署至服务器忘记配置redis,导致一直报错,因为此处用到了redis去缓存token,所以必须进行配置。
解决:在要部署的服务器上安装redis
参考文章:
https://blog.youkuaiyun.com/weixin_43883917/article/details/114632709
https://developer.aliyun.com/article/1395346
1、下载安装包
2、解压至自己想要安装的盘符