解决办法:在**ServeiceImpl上加入 @Service@Transactional 转载于:https://www.cnblogs.com/ly133333333333333/p/7562696.html