启动类捕获异常
try{ ApplicationContext applicationContext = SpringApplication.run(TestApplication.class, args);}catch (Exception e){ System.out.println(e.getMessage());}