private static Logger logger=Logger.getLogger(ReportInsertService.class); logger.error(e); 转载于:https://www.cnblogs.com/dsh2018/p/9492859.html