解决方法: (1)、抛异常(runtimeException) (2)、抛异常(exception),注解加@Transactional(rollbackFor=Exception.class) (3)、try..catch{}在catch中加入TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();