ERROR [RMI TCP Connection(2)-127.0.0.1] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.interceptor.CacheInterceptor#0': Cannot resolve reference to bean 'cacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'cacheManager' available
具体错误的地方
springmvc-cinfig.xml文件错误
<mvc:annotation-driven/>
选择mvc结尾的选项,上面的错误是因为我选择了cache结尾的