警告⚠️信息:


WARN 82849 --- [  restartedMain] iguration$LoadBalancerCaffeineWarnLogger : 
Spring Cloud LoadBalancer is currently working with the default cache. 
While this cache implementation is useful for development and tests, 
it's recommended to use Caffeine cache in production.
You can switch to using Caffeine cache, by adding it 
and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.

添加以下依赖即可解决:

<dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context-support</artifactId>
        </dependency>
Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐