CodisLabs / jodis

A java client for codis based on Jedis and Curator
MIT License
217 stars 97 forks source link

Jodis最新版本0.3.0使用Jedis版本2.9.0出现方法不匹配问题 #39

Closed xx569029747 closed 7 years ago

xx569029747 commented 7 years ago

升级了版本之后出现以下异常: java.lang.NoSuchMethodError: redis.clients.jedis.JedisPool.<init>(Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig;Ljava/lang/String;IIILjava/lang/String;ILjava/lang/String;)V at com.wandoulabs.jodis.RoundRobinJedisPool.resetPools(RoundRobinJedisPool.java:267) at com.wandoulabs.jodis.RoundRobinJedisPool.access$200(RoundRobinJedisPool.java:64) at com.wandoulabs.jodis.RoundRobinJedisPool$1.childEvent(RoundRobinJedisPool.java:230) at org.apache.curator.framework.recipes.cache.PathChildrenCache$5.apply(PathChildrenCache.java:522) at org.apache.curator.framework.recipes.cache.PathChildrenCache$5.apply(PathChildrenCache.java:516)

Apache9 commented 7 years ago

看起来需要发0.4.0了。。。

spinlock commented 7 years ago

大师球

Apache9 commented 7 years ago

发了0.4.0

https://oss.sonatype.org/service/local/repositories/releases/content/io/codis/jodis/jodis/0.4.0/jodis-0.4.0.pom