Severe: Context initialization failed
Org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'org. Springframework. Cache. The interceptor. CacheInterceptor# 0' : always resolve a reference to the bean 'cacheManager while setting the bean property' cacheManager. Nested exception is org. Springframework. Beans. Factory. NoSuchBeanDefinitionException: No bean named 'cacheManager is defined
The at org. Springframework. Beans. Factory. Support. BeanDefinitionValueResolver. ResolveReference (BeanDefinitionValueResolver. Java: 359)
The at org. Springframework. Beans. Factory. Support. BeanDefinitionValueResolver. ResolveValueIfNecessary (BeanDefinitionValueResolver. Java: 108)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. ApplyPropertyValues (AbstractAutowireCapableBeanFactory. Java: 1481)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. PopulateBean (AbstractAutowireCapableBeanFactory. Java: 1226)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 543)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 482)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory $1. GetObject (AbstractBeanFactory. Java: 306)
The at org. Springframework. Beans. Factory. Support. DefaultSingletonBeanRegistry. GetSingleton (DefaultSingletonBeanRegistry. Java: 230)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. DoGetBean (AbstractBeanFactory. Java: 302)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. GetBean (AbstractBeanFactory. Java: 197)
CodePudding user response:
Hi, man, this problem is solved, I also encountered this problem todayCodePudding user response:
Check your project ever released into the Tomcat, is there any configuration project root path,CodePudding user response: