SpringBoot如何使用JVM自带的ehcahe

1、pom文件加入ehcahe的依赖:java         <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-cache</artifactId>spring </dependency>缓存 2、新建ehcache.xml配置文件,内容以下:springboot <e
相关文章
相关标签/搜索