try { SpringApplication.run(xxxApplication.class, args); } catch (Exception e) { logger.error(e); } 启动类这么写