解决 transaction-manager Attribute transaction-manager is not allowed here

idea根据你的事务自动生成的命名空间如下:
idea中spring事务 解决 transaction-manager Attribute transaction-manager is not allowed here

将上面红色标注的代码换成如下即可:

xmlns:tx=“http://www.springframework.org/schema/tx

相关文章: