Error creating bean with name 'org.springframework.cache.interceptor.CacheInterceptor#0’ 说起这个就有点坑了,spring配置文件添加注解扫描**之后,idea会自动给你添加引用,但是它添加的引用是xmlns:mvc=”http://www.springframework.org/schema/cache”,这就导致了问题。应该把它改成xmlns:mvc=”http://www.springframework.org/schema/mvc”



