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
相關文章
相關標籤/搜索