最近在做一个springBoot的项目,项目运行着,经常自动打开断电模式,包Exception错误,如图:
原因是因为Eclipse默认开启挂起未捕获的异常(Suspend execution on uncaught exceptions),只要关闭此项就可以了。
解决方法:在eclipse中选择Window->Preference->Java->Debug,将“Suspend execution on uncaught exceptions”的勾去掉即可。
来源:https://blog.csdn.net/ljj_9/article/details/79403729