仔细查看配置中是否有如下类似的配置 execution(* com.ciguo.service.*.*(..))

<aop:config>
<aop:pointcut />
</aop:config>

这种写法是扫描到service下一级*.java里面的方法,显然是找不到的,于是乎改成 execution(* com.ciguo.service.impl.*.*(..))

<aop:config>
<aop:pointcut />
</aop:config>

SqlSession现在已经被spring管理了,事务也生效了

相关文章:

  • 2021-11-17
  • 2022-12-23
  • 2021-10-31
  • 2021-07-16
  • 2021-11-12
  • 2021-08-13
  • 2021-05-26
  • 2021-10-16
猜你喜欢
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2021-10-09
  • 2022-01-01
  • 2022-12-23
  • 2021-09-07
相关资源
相似解决方案