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結尾的