CacheManager No Bean Found - Not Trying to setup any Cache
In your context files, if you use <tx:
, IntelliJ automatically imports the ****/cache
namespace instead of the ****/tx
namespace! So when I had my <tx:
tag for transactional manager, it was thinking it was cacheManager.
I 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.