SpringBoot緩存技術整合Ehcache

首先說明一下,這裏使用的是Springboot2.2.6.RELEASE版本,由於Springboot迭代很快,所以要注意版本問題。 1、SpringBoot整合Ehcache,修改pom文件,添加緩存支持啓動器,和Ehcache緩存依賴jar包。 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.a
相關文章
相關標籤/搜索