在springboot整合redisson是读取配置文件为null

2.解决方案

这两个jar包可能存在冲突

        <!-- redisson-spring-boot-starter -->
        <dependency>
            <groupId>org.redisson</groupId>
            <artifactId>redisson-spring-boot-starter</artifactId>
            <version>3.14.0</version>
        </dependency>
        <!-- redisson -->
      <!--  <dependency>
            <groupId>org.redisson</groupId>
            <artifactId>redisson</artifactId>
            <version>3.14.0</version>
        </dependency>-->

 

完美!

相关文章:

  • 2021-12-31
  • 2021-12-02
  • 2022-02-05
猜你喜欢
  • 2021-08-25
  • 2022-01-03
  • 2022-12-23
  • 2021-12-28
  • 2021-08-30
  • 2021-10-11
  • 2021-12-23
相关资源
相似解决方案