上午从git上拉了最新的代码后,导致SpringBoot启动卡住。
解决办法:给 SpringApplication.run()加个try。。。catch。。。捕获下异常信息
如下:
修改完后,重新启动正常了。