最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

Consider defining a bean of type ‘org.springframework.data.redis.connection.RedisConnectionFactory‘

业界 admin 2浏览 0评论

Consider defining a bean of type ‘org.springframework.data.redis.connection.RedisConnectionFactory’ in your configuration

将注解

        <dependency>
            <groupId>org.springframework.data</groupId>
            <artifactId>spring-data-redis</artifactId>
            <version>2.5.5</version>
        </dependency>

换成

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-data-redis</artifactId>
    </dependency>

Consider defining a bean of type ‘org.springframework.data.redis.connection.RedisConnectionFactory’ in your configuration

将注解

        <dependency>
            <groupId>org.springframework.data</groupId>
            <artifactId>spring-data-redis</artifactId>
            <version>2.5.5</version>
        </dependency>

换成

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-data-redis</artifactId>
    </dependency>

与本文相关的文章

发布评论

评论列表 (0)

  1. 暂无评论