使用JedisPool来连接Twemproxy这里主要是配置的问题:这里的配置testOnBorrow只能配置为false 否则会报错Caused by: java.util.NoSuchElementException...
使用JedisPool来连接Twemproxy这里主要是配置的问题:这里的配置testOnBorrow只能配置为false 否则会报错Caused by: java.util.NoSuchElementException...
...asspath*:/spring/*.xml"); ec = (IpAddcodeManager) cfg.getBean("esIpAddcodeManager"); JedisPool pool; Jedis jedis; ApplicationContext cfg; IpAddcodeManager ec; IpAddcodeDao ipAddcodeDao; 二、编写测试用例...