redis + Jedis + Spring报错Type 'redis/clients/jedis/JedisPoolConfig'(current frame, stack[4]) is not a
redis + Jedis + Spring集成之后运行报以下错误:
log4j:WARNNo appenders could be found for logger(org.springframework.core.env.StandardEnvironment).
log4j:WARNPlease initialize the log4j system properly.
SLF4J:Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J:Defaulting to no-operation (NOP) logger implementation
SLF4J:See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exceptionin thread "main" java.lang.VerifyError: Bad type on operand stack
ExceptionDetails:
Location:
org/springframework/data/redis/connection/jedis/JedisConnectionFactory.createRedisSentinelPool(Lorg/springframework/data/redis/connection/RedisSentinelConfiguration;)Lredis/clients/util/Pool;@57: invokespecial