gpt4 book ai didi

java - 如何解决 "Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache' 警告?

转载 作者:行者123 更新时间:2023-12-04 11:40:05 26 4
gpt4 key购买 nike

如何解决Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it to the classpath. Spring Boot 警告?

最佳答案

在您的 pom.xml 中添加以下库

<!-- https://mvnrepository.com/artifact/com.github.ben-manes.caffeine/caffeine -->
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>2.8.8</version>
</dependency>
或在您的 build.gradle
// https://mvnrepository.com/artifact/com.github.ben-manes.caffeine/caffeine
compile group: 'com.github.ben-manes.caffeine', name: 'caffeine', version: '2.8.8'
您可以替换 caffeine 的合适/最新版本.

关于java - 如何解决 "Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache' 警告?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65227645/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com