Error creating bean with name ‘org.springframework.cache.interceptor.CacheInterceptor#0
错误原因
Error creating bean with name 'org.springframework.cache.interceptor.CacheInterceptor#0
原因是配置文件配置出错,修改方法:在配置文件中添加如下mvc的命名空间
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc.xsd"
运行即可