看好自己之后的异常: will not managed by Spring 没有被Spring管理,在自己报错的sql对应的service上加上事务注解 其他Exception,按提示找到自己代码,检查代码