will not be managed by Spring/ [managed: 15; max: 15]


  1. 检查事务配置
  2. 检查 mybatis 配置文件扫描路径是否正确
<!-- 自动扫描 -->
<context:component-scan base-package="com.sharevip.dao" />
  1. 检查是否添加
  <tx:annotation-driven transaction-manager="transactionManager" proxy-target-class="true" />
检查是否在service 层添加 注解
@Transactional

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM