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

idea根据你的事务自动生成的命名空间如下:
在这里插入图片描述
将上面红色标注的代码换成如下即可:

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

猜你喜欢

转载自blog.csdn.net/wwwwwww31311/article/details/113767808