Consider defining a bean of type ‘com.alicp.jetcache.anno.support.ConfigMap’ in your configuration 解决办法 启动类上加注解 @EnableMethodCache(basePackages = "com.sasa.demo")//项目主路径 @EnableCreateCacheAnnotation