Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageExce

记错:配置事物出现了错误,查看了网上的方法在web.xml中添加一些也无果,最后发现是,aop事物管理的路径配置写错了,



<aop:config>
<aop:pointcut expression="execution(* com.
abc.abcService..*.*(..))" id="mypointcut"/>
<aop:advisor advice-ref="txAdvice" pointcut-ref="mypointcut" />
</aop:config>


切记符合自己的包名类名。


相关文章:

  • 2021-11-10
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2021-11-04
  • 2021-08-23
  • 2021-05-28
  • 2021-12-13
猜你喜欢
  • 2021-11-24
  • 2021-06-19
  • 2021-09-26
  • 2021-05-17
  • 2021-09-09
相关资源
相似解决方案