title: exception with jedis pool using spring framework
body: <p>I am trying to use jedis with spring framework (container: tomcat 7 on ubuntu running on windows VM) but keep getting the exception copied below (this setup works for me on another computer).  Redis is running on the server (process is up and listening on 0.0.0.0:6379).  This host/port is specified in my properties file.  I can add more information on the trace but it appears the error is due to the redis connection (jedis v 2.1.0, redis: 2.6.14 ) </p>
  
  <pre><code>   Error creating bean with name 'jedisPool' defined in ServletContext resource [/WEB-INF/applicationContext.xml]
  </code></pre>
  
  <p><strong>pom.xml file</strong>:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;redis.clients&lt;/groupId&gt;
      &lt;artifactId&gt;jedis&lt;/artifactId&gt;
      &lt;version&gt;2.1.0&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p><strong>applicationContext.xml file:</strong></p>
  
  <pre><code>&lt;bean id="jedisPool" class="redis.clients.jedis.JedisPool"&gt;
      &lt;constructor-arg index="0"&gt;
          &lt;bean factory-bean="config" factory-method="getConfig" /&gt;
      &lt;/constructor-arg&gt;
      &lt;constructor-arg index="1" value="${redis.host}" /&gt;
      &lt;constructor-arg index="2" value="${redis.port}" /&gt;
      &lt;constructor-arg index="3" value="${redis.timeout:5000}" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>Any suggestions to troubleshoot this would be quite welcome.  I will check if its related to the jedis version as well.  </p>
  
  <p>Issue is most likely with my local setup - will update!</p>