The prefix "tx" for element "tx:annotation-driven" is not bound. ssm配置事物切面报错
2017-09-19 19:35
585 查看
今天在配置ssm的时候,配置切面时,xml报错,The prefix "tx" for element "tx:annotation-driven" is not bound. 后来找了一下,发现没有引入schema,在头部加入就好,
具体附上图
错误图片
解决图片
需要引入的:
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-4.1.xsd
http://www.springframework.org/schema/aop
具体附上图
错误图片
解决图片
需要引入的:
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-4.1.xsd
http://www.springframework.org/schema/aop
相关文章推荐
- 关于spring配置中the prefix "tx" for element "tx:annotation-driven" is not bound 问题的处理
- SSH整合出现的问题:The prefix "tx" for element "tx:annotation-driven " is not bound
- The prefix "tx" for element "tx:annotation-driven " is not bound
- The prefix "tx" for element "tx:annotation-driven " is not bound
- The prefix "tx" for element "tx:annotation-driven" is not bound.
- The prefix "tx" for element "tx:annotation-driven " is not bound
- the prefix "tx" for element "tx:annotation-driven" is not bound
- The prefix "tx" for element "tx:annotation-driven " is not bound The prefix "tx" for element "tx:ann
- The prefix "mvc" for element "mvc:annotation-driven" is not bound 的解决方法
- The prefix "mvc" for element "mvc:annotation-driven" is not bound
- The prefix "mvc" for element "mvc:annotation-driven" is not bound 的解决方法
- The prefix "mvc" for element "mvc:annotation-driven" is not bound 的解决方法
- The prefix "mvc" for element "mvc:annotation-driven" is not bound 的解决方法
- The prefix "mvc" for element "mvc:annotation-driven" is not bound 的解决方法
- The prefix "mvc" for element "mvc:annotation-driven" is not bound 的解决方法
- springMVC- The prefix "mvc" for element "mvc:annotation-driven" is not bound 解决方法
- The prefix "mvc" for element "mvc:annotation-driven" is not bound 的解决方法
- The prefix "mvc" for element "mvc:annotation-driven" is not bound 的解决方法
- 报错:The prefix "mvc" for element "mvc:annotation-driven" is not bound.
- 【转】The prefix "tx" for element "tx:advice" is not bound 错误的说明