package im.zhaojun; import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation; import com.alicp.jetcache.anno.config.EnableMethodCache; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.EnableAspectJAutoProxy; import org.springframework.scheduling.annotation.EnableAsync; /** * @author zhaojun */ @EnableAsync @SpringBootApplication @EnableMethodCache(basePackages = "im.zhaojun", proxyTargetClass = true) @EnableCreateCacheAnnotation @EnableAspectJAutoProxy(exposeProxy = true) public class ZfileApplication { public static void main(String[] args) { SpringApplication.run(ZfileApplication.class, args); } }