When integrating redis with SSM framework, error creating bean with name ‘rediscontentserviceimpl’ defined in file

When integrating redis in SSM framework, error creating bean with name ‘rediscontentserviceimpl’ defined in file

Error report: there is a problem with bean dependency, that is, there is a problem with bean injection. Finally, we found that there was a problem with the version of the connection between redis and jedis. We found a new version and solved it.

        <dependency>
            <groupId>redis.clients</groupId>
            <artifactId>jedis</artifactId>
            <version>2.7.3</version>
        </dependency>
        <!-- spring-redis-->
        <dependency>
            <groupId>org.springframework.data</groupId>
            <artifactId>spring-data-redis</artifactId>
            <version>1.6.2.RELEASE</version>
        </dependency>

 

Read More: