Cannot get connection for redisTemplate for Spring data redis

后端 未结 10 2060
太阳男子
太阳男子 2020-12-05 21:25

I\'m trying to publish a message to a channel using Spring data Redis using Jedis. Here is a very simple Java config:

@Bean(name=\"jedisConnectionFactory\")
         


        
10条回答
  •  感动是毒
    2020-12-05 21:49

    Version, I encountered the same problem,this spring-data-redis 1.5.0 pom

    
      4.0.0
      org.springframework.data
      spring-data-redis
      1.5.0.RELEASE
      Spring Data Redis
      Spring Data Redis
      http://github.com/spring-projects/spring-data-redis
      
        Pivotal Software, Inc.
        http://projects.spring.io/spring-data-redis
      
      
        
          The Apache Software License, Version 2.0
          http://www.apache.org/licenses/LICENSE-2.0.txt
          repo
        
      
      
        
          costin
          Costin Leau
          cleau@vmware.com
          
            costinl
          
        
        
          jencompgeek
          Jennifer Hickey
          
            jencompgeek
          
        
        
          christophstrobl
          Christoph Strobl
          
            stroblchristoph
          
        
        
          thomasdarimont
          Thomas Darimont
          
            thomasdarimont
          
        
      
      
        scm:git:git://github.com/spring-projects/spring-data-redis
        scm:git:git://github.com/spring-projects/spring-data-redis
        http://github.com/spring-projects/spring-data-redis
      
      
        
          org.springframework
          spring-oxm
          4.0.9.RELEASE
          compile
          true
        
        
          org.springframework
          spring-context
          4.0.9.RELEASE
          compile
        
        
          org.codehaus.jackson
          jackson-mapper-asl
          1.8.8
          compile
          true
        
        
          org.springframework
          spring-context-support
          4.0.9.RELEASE
          compile
        
        
          org.springframework
          spring-tx
          4.0.9.RELEASE
          compile
        
        
          org.jredis
          jredis-core-ri
          06052013
          compile
          true
        
        
          redis.clients
          jedis
          2.6.2
          compile
          true
        
        
          org.springframework
          spring-aop
          4.0.9.RELEASE
          compile
        
        
          org.springframework
          spring-core
          4.0.9.RELEASE
          compile
          
            
              commons-logging
              commons-logging
            
          
        
        
          commons-beanutils
          commons-beanutils-core
          1.8.3
          compile
          true
        
        
          org.apache.commons
          commons-pool2
          2.2
          compile
          true
        
        
          com.github.spullara.redis
          client
          0.7
          compile
          true
        
        
          com.fasterxml.jackson.core
          jackson-databind
          2.5.1
          compile
          true
        
        
          org.slf4j
          slf4j-api
          1.7.10
          compile
        
        
          com.lambdaworks
          lettuce
          2.3.3
          compile
          true
        
        
          org.jredis
          jredis-core-api
          06052013
          compile
          true
        
        
          com.fasterxml.jackson.core
          jackson-core
          2.5.1
          compile
          true
        
      
    
    

提交回复
热议问题