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.