解決:Cannot resolve reference to bean ‘cacheManager‘ while setting bean property ‘cacheManager‘; ne...

  image.png 1. 原因 我這裏出現這個原因是因爲:我使用idea,自動在springmvc.xml配置文件中,輸入<mvc:annotation-driven/> 自動添加xmlns:mvc約束 image.png 有問題呀,明明是mvc,cache是什麼鬼   2. 解決辦法: 將這幾個cache改爲mvc就可以啦!
相關文章
相關標籤/搜索