org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'jedisPoolConfig' defined in class path resource [spring-redis.xml]:
Could not resolve placeholder 'redis.maxIdle' in value "\({redis.maxIdle}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'redis.maxIdle' in value "\){redis.maxIdle}"
有redis.maxIdle这个配置吗,没有加上,找不到配置项引起的。或者用冒号加一个默认值{redis.maxIdle:默认配置}
问题找到了,redis.properties文件没有被读取