Error creating bean with name 'org.springframework.cache.interceptor.CacheInterceptor#0’
Speaking of this is a bit of a pitfall, spring configuration file add annotation scan **
<mvc (as long as this is checked again):annotation-driven
** /> After that, idea will automatically add a reference to you, but it adds a reference to xmlns:mvc="http://www.springframework.org/schema/cache", which causes problems. It should be changed to xmlns:mvc=”http://www.springframework.org/schema/mvc”