(转)No bean named 'cacheManager' is defined
No bean named 'cacheManager' is defined
在springMVC中,启动项目时报异常,排查后才发现是spring配置文件中的头(scheme)引入错误
- 注意:配置文件中的
xsi:schemaLocation=...
部分也要对应修改
![](http://upload-images.jianshu.io/upload_images/1360650-ec6a84f48d863912.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Paste_Image.png
![](http://upload-images.jianshu.io/upload_images/1360650-80d9788516c791e3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Paste_Image.png
- 注意:配置文件中的
xsi:schemaLocation=...
部分也要对应修改