您的位置:首页 > 其它

idea下 cacheManager 无法创建的故障

2018-03-27 19:42 204 查看
https://stackoverflow.com/questions/24816502/cachemanager-no-bean-found-not-trying-to-setup-any-cache

9down voteI had the same problem, As tehras said, if you use Intellij IDEA and use 
<tx:
, then it will become 
****/cache
 namespace, so change it to tx namespace to fix it.
xmlns:tx="http://www.springframework.org/schema/tx"
and in 
xsi:schemaLocation
, find 
**/schema/cache
 and replace it with
http://www.springframework.org/schema/tx
 
http://www.springframework.org/schema/tx/spring-tx.xsd
Restart your project and it will be ok.
9down voteI had the same problem, As tehras said, if you use Intellij IDEA and use 
<tx:
, then it will become 
****/cache
 namespace, so change it to tx namespace to fix it.
xmlns:tx="http://www.springframework.org/schema/tx"
and in 
xsi:schemaLocation
, find 
**/schema/cache
 and replace it with
http://www.springframework.org/schema/tx
 
http://www.springframework.org/schema/tx/spring-tx.xsd
Restart your project and it will be ok.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: