ERROR | main | org.springframework.boot.SpringApplication | Application run failed

ERROR | main | org.springframework.boot.SpringApplication | Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'permissionController': Unsatisfied dependency expressed through field 'redisUtil'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'redisUtil': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'redisTemplate' defined in class path resource [com/sinovatio/spring/boot/autoconfigure/RedisAutoConfig.class]: Unsatisfied dependency expressed through method 'redisTemplate' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisConnectionFactory' defined in class path resource [org/springframework/boot/autoconfigure/data/redis/JedisConnectionConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.redis.connection.jedis.JedisConnectionFactory]: Factory method 'redisConnectionFactory' threw exception; nested exception is java.lang.IllegalArgumentException: HostAndPort need to be seperated by ':'.
安装前台服务启动时报错。redis配置目前也没有发现问题。求解答

img

host和port以“:”分号分隔

img

你发下redis配置

一般这种Error creating bean with name .... 错误, 基本都是类中没有加自动注入的注解 @Autowired 或者@Resource 。自行排查下是不是调用其他类的时候没有加注解