<!-- 配置那些類的方法進行事務管理 -->
<aop:config>
<aop:pointcut id="allManagerMethod" expression="execution (* com.test.manager.*.*(..))"/>
<aop:advisor advice-ref="txAdvice" pointcut-ref="allManagerMethod"/>
</aop:config>
(expression)路徑出的錯
出你那個異常是由于expression對應的路徑有問題,請仔細查看,是否為你的程序的包路徑!