java整合Jedis报错org.springframework.util.Assert.isTrue(ZLjava/util/function/Supplier;)V

<dependency>
      <groupId>org.springframework.data</groupId>
      <artifactId>spring-data-redis</artifactId>
      <version>2.0.5.RELEASE</version>
    </dependency>

redis版本2.0.5

<dependency>
                <groupId>redis.clients</groupId>
                   <artifactId>jedis</artifactId>
                   <version>2.9.0</version>
            </dependency>

jedis版本2.9.0

 

更改redis版本为低版本

<dependency>
      <groupId>org.springframework.data</groupId>
      <artifactId>spring-data-redis</artifactId>
      <version>1.7.2.RELEASE</version>
    </dependency>

 

posted @ 2019-07-05 17:46  明年上初中  阅读(838)  评论(0编辑  收藏  举报