admin管理员组

文章数量:1530317

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'lockFactory': Unsatisfied dependency expressed through field 'redissonClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisson' defined in class path resource [org/springframework/boot/autoconfigure/klock/KlockAutoConfiguration.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 org.redisson.client.RedisConnectionException: Can't init enough connections amount! Only 0 from 5 were initialized. Server: /127.0.0.1:6379
 

显然这个是因为本地没有Redis服务造成的问题,那么很简单,只要本地安装一个Redis服务就行了。

本文标签: