No cache manager could be auto-configured, check your configuration (caching type is ‘CAFFEINE‘)

Posted 红桃xin

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了No cache manager could be auto-configured, check your configuration (caching type is ‘CAFFEINE‘)相关的知识,希望对你有一定的参考价值。

下面报错是因为 maven 没有加入 spring-boot-starter-cache

No cache manager could be auto-configured, check your configuration (caching type is ‘CAFFEINE’)

maven 配置

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

参考链接

springboot入门01 – 缓存的使用

Spring Boot缓存实战 Caffeine

以上是关于No cache manager could be auto-configured, check your configuration (caching type is ‘CAFFEINE‘)的主要内容,如果未能解决你的问题,请参考以下文章

No cache manager could be auto-configured, check your configuration (caching type is ‘CAFFEINE‘)(代码片

No cache could be resolved for……. At least one cache should be provided per cache operation

No cache could be resolved for……. At least one cache should be provided per cache operation

SQLyog连接报错 Error No.2058 Plugin caching_sha2_password could not be loaded

远程连接mysql8.0,Error No.2058 Plugin caching_sha2_password could not be loaded

解决 MySQL manager or server PID file could not be found! 的方法