SpringBoot启动卡住 问题排查

上午从git上拉了最新的代码后,导致SpringBoot启动卡住。

解决办法:给  SpringApplication.run()加个try。。。catch。。。捕获下异常信息

如下:

 

修改完后,重新启动正常了。

猜你喜欢

转载自blog.csdn.net/robinson_911/article/details/107956958