
然后增加了事务发现,xml中不识别tx的advice标签,由于我的配置文件不是copy是手写的,所以又加了点约定xsd文件,如下图:
??????????????xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
??????????????xmlns:tx="http://www.springframework.org/schema/tx"
??????????????xmlns:aop="http://www.springframework.org/schema/aop"

??????????????xsi:schemaLocation="http://www.springframework.org/schema/beans
??????????????????????spring-beans-2.5.xsd
??????????????????????
??????????????????????spring-tx-2.5.xsd

??????????????????????aop
??????????????????????aop/spring-aop-2.5.xsd">
红色标记的内容是需要添加的内容,添加之后IDE就能够识别,
标签了。
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-55372-1.html
新生代经济和新生代偶像的完美契合
你们死到临头了