Spring遇到的问题合集

2018-09-15

元素 "tx:annotation-driven" 的前缀 "tx" 未绑定。

后来我加了

http://www.springframework.org/schema/tx 
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd

还是不生效,还要加

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

才生效。

猜你喜欢

转载自www.cnblogs.com/angelshelter/p/9650101.html