Redis health check failed
问题:
Caused by: Ubable to connect to 127.0.0.1:6379
Caused by:java.net.ConnectExpection:Connection refused:no further information
Caused by: Cnnection refused: no further information:localhost/127.0.0.1:6379
原因:
本地127.0.0.1并没有搭建redis服务,所以检查一定会失败,一般也没有必要做健康检查,并且会一定程度上减慢程序启动速度,建议关闭.
解决办法:
一般在.yaml中添加相关配置即可.
management:
health:
redis:
enabled: false