给大家提供一个思路。
检查下自己的包是不是多创建了一层。
比如说在建立 server.c.impl正常使用
但server.c.d.impl就不行了。
容易被忽视的一点,可以排查一下。
<aop:config expose-proxy="true"> ???????<aop:pointcut id="txPointcut" expression="execution(public * com.a.b.service.*.*.*(..))"/> ???????<aop:advisor pointcut-ref="txPointcut" advice-ref="txAdvice"/> ???</aop:config>
新建类时Hibernate事务开启失败,但其它的没事。
原文地址:https://www.cnblogs.com/kuibuqianli/p/9131357.html