springboot框架中增加使用ehcache

1、 Application.java中增加注解 //增加ehcache缓存 @EnableCaching public class Application { 2、配置文件ehcache.xml 存放到 <?xml version="1.0" encoding="UTF-8"?> <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta
相关文章
相关标签/搜索